C# 클래스 Shadowsocks.Nladuo.ServerCrawler

파일 보기 프로젝트 열기: nladuo/AutoShadowsocks 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
CRAWLER_REMARKS string
ezlink_url string
hishadowsocks_url string
ishadowsocks_url string

공개 메소드들

메소드 설명
ServerCrawler ( ShadowsocksController controller ) : System
asyncRequest ( ) : void

开启一个线程来异步爬取

saveServers ( ) : void

保存免费的服务器

updateServers ( ) : void

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

비공개 메소드들

메소드 설명
crawIShadowsocks ( ) : List

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

crawlEzlink ( ) : Server

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

crawlHiShadowsocks ( ) : Server

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

isServersEqual ( List s1, List s2 ) : bool

메소드 상세

ServerCrawler() 공개 메소드

public ServerCrawler ( ShadowsocksController controller ) : System
controller Shadowsocks.Controller.ShadowsocksController
리턴 System

asyncRequest() 공개 메소드

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

saveServers() 공개 메소드

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

updateServers() 공개 메소드

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

프로퍼티 상세

CRAWLER_REMARKS 공개적으로 정적으로 프로퍼티

public static string CRAWLER_REMARKS
리턴 string

ezlink_url 공개적으로 정적으로 프로퍼티

public static string ezlink_url
리턴 string

hishadowsocks_url 공개적으로 정적으로 프로퍼티

public static string hishadowsocks_url
리턴 string

ishadowsocks_url 공개적으로 정적으로 프로퍼티

public static string ishadowsocks_url
리턴 string