C# Class Shadowsocks.Nladuo.ServerCrawler

Mostra file Open project: nladuo/AutoShadowsocks Class Usage Examples

Public Properties

Property Type Description
CRAWLER_REMARKS string
ezlink_url string
hishadowsocks_url string
ishadowsocks_url string

Public Methods

Method Description
ServerCrawler ( ShadowsocksController controller ) : System
asyncRequest ( ) : void

开启一个线程来异步爬取

saveServers ( ) : void

保存免费的服务器

updateServers ( ) : void

获取并更新免费ss服务器列表

Private Methods

Method Description
crawIShadowsocks ( ) : List

爬取http://www.ishadowsocks.com/的免费账号

crawlEzlink ( ) : Server

爬取https://www.ezlink.hk/的免费账号

crawlHiShadowsocks ( ) : Server

爬取http://www.hishadowsocks.com/的免费账号

isServersEqual ( List s1, List s2 ) : bool

Method Details

ServerCrawler() public method

public ServerCrawler ( ShadowsocksController controller ) : System
controller Shadowsocks.Controller.ShadowsocksController
return System

asyncRequest() public method

开启一个线程来异步爬取
public asyncRequest ( ) : void
return void

saveServers() public method

保存免费的服务器
public saveServers ( ) : void
return void

updateServers() public method

获取并更新免费ss服务器列表
public updateServers ( ) : void
return void

Property Details

CRAWLER_REMARKS public_oe static_oe property

public static string CRAWLER_REMARKS
return string

ezlink_url public_oe static_oe property

public static string ezlink_url
return string

hishadowsocks_url public_oe static_oe property

public static string hishadowsocks_url
return string

ishadowsocks_url public_oe static_oe property

public static string ishadowsocks_url
return string