C# Class Shadowsocks.Nladuo.ServerCrawler

Afficher le fichier Open project: nladuo/AutoShadowsocks Class Usage Examples

Méthodes publiques

Свойство Type Description
CRAWLER_REMARKS string
ezlink_url string
hishadowsocks_url string
ishadowsocks_url string

Méthodes publiques

Méthode Description
ServerCrawler ( ShadowsocksController controller ) : System
asyncRequest ( ) : void

开启一个线程来异步爬取

saveServers ( ) : void

保存免费的服务器

updateServers ( ) : void

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

Private Methods

Méthode 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 méthode

public ServerCrawler ( ShadowsocksController controller ) : System
controller Shadowsocks.Controller.ShadowsocksController
Résultat System

asyncRequest() public méthode

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

saveServers() public méthode

保存免费的服务器
public saveServers ( ) : void
Résultat void

updateServers() public méthode

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

Property Details

CRAWLER_REMARKS public_oe static_oe property

public static string CRAWLER_REMARKS
Résultat string

ezlink_url public_oe static_oe property

public static string ezlink_url
Résultat string

hishadowsocks_url public_oe static_oe property

public static string hishadowsocks_url
Résultat string

ishadowsocks_url public_oe static_oe property

public static string ishadowsocks_url
Résultat string