Property | Type | Description | |
---|---|---|---|
DeleteTempFile | string | ||
DoLogin | bool | ||
ParseImageExtras | void | ||
ParseImageLinks | void | ||
ParseImageList | List |
||
ParseImagePopups | |||
ParseImageTags | void | ||
ParseImageTitleAndDescription | void | ||
ParseMemberBookmark | void | ||
ParseMemberFromImage | |||
ParseMemberImages | void | ||
ParseMemberProfile | void | ||
ParseSearchImageList | List |
||
ParseTotalImageCount | int | ||
PrepareLoginInfo | |||
PrintCookie | void | ||
ProcessDoujin | void | ||
canOperate | void | ||
checkErrorMessage | void | ||
checkHttpStatusCode | void | ||
checkOverwrite | void | ||
downloadPostCheck | void | ||
downloadPreCheck | System.Int64 | ||
getPage | WebResponse>.Tuple |
Method | Description | |
---|---|---|
Download ( string url, string referer, string filename, Action |
Download image
|
|
DownloadData ( string url, string referer ) : byte[] |
Download data to memory byte array.
|
|
GetInstance ( ILog _log = null, bool useHttps = false ) : |
||
Login ( string userName, string password ) : bool | ||
LoginAsync ( string userName, string password, string>.Action |
||
Logout ( ) : void | ||
Nijie ( ILog _log ) : System | ||
ParseImage ( |
||
ParseImage ( |
||
ParseImage ( int imageId, string referer = null ) : |
||
ParseImagePopUp ( |
||
ParseMember ( HtmlAgilityPack.HtmlDocument doc, |
Parse member from html document.
|
|
ParseMember ( int memberId, MemberMode mode, int page ) : |
Parse member from internet based on given member id, mode, and page number.
|
|
ParseMyImageBookmark ( int page ) : bool>.Tuple |
||
ParseMyMemberBookmark ( int page ) : bool>.Tuple |
||
ParseSearch ( HtmlAgilityPack.HtmlDocument doc, |
Parse the search page
|
|
Search ( |
Get and parse the search page
|
Method | Description | |
---|---|---|
DeleteTempFile ( string filename, Action |
||
DoLogin ( |
||
ParseImageExtras ( |
||
ParseImageLinks ( |
||
ParseImageList ( string html, string referer ) : List |
Parse image list from member.
|
|
ParseImagePopups ( |
||
ParseImageTags ( |
||
ParseImageTitleAndDescription ( |
||
ParseMemberBookmark ( HtmlAgilityPack.HtmlDocument doc, |
||
ParseMemberFromImage ( HtmlAgilityPack.HtmlDocument doc ) : |
||
ParseMemberImages ( HtmlAgilityPack.HtmlDocument doc, |
||
ParseMemberProfile ( HtmlAgilityPack.HtmlDocument doc, |
||
ParseSearchImageList ( string html, string referer ) : List |
Parse image list from search.
|
|
ParseTotalImageCount ( HtmlAgilityPack.HtmlNodeCollection imageCountElements ) : int | ||
PrepareLoginInfo ( string userName, string password ) : |
||
PrintCookie ( string header ) : void | ||
ProcessDoujin ( |
||
canOperate ( ) : void | ||
checkErrorMessage ( HtmlAgilityPack.HtmlDocument doc ) : void | ||
checkHttpStatusCode ( string url, |
Throw exception if have httpstatuscode : - 403 Forbidden - 404 NotFound
|
|
checkOverwrite ( string filename, Action |
Check if allow overwrite
|
|
downloadPostCheck ( string filename, string tempFilename, System.Int64 bytes_total, Action |
if compression is enabled or Content Length is unknown, check after downloaded.
|
|
downloadPreCheck ( string filename, |
Check if File exists and need to redownload.
|
|
getPage ( string url ) : WebResponse>.Tuple |
public Download ( string url, string referer, string filename, Action |
||
url | string | |
referer | string | |
filename | string | |
progressChanged | Action |
|
cancelToken | CancellationToken | |
return | string |
public DownloadData ( string url, string referer ) : byte[] | ||
url | string | |
referer | string | |
return | byte[] |
public static GetInstance ( ILog _log = null, bool useHttps = false ) : |
||
_log | ILog | |
useHttps | bool | |
return |
public Login ( string userName, string password ) : bool | ||
userName | string | |
password | string | |
return | bool |
public LoginAsync ( string userName, string password, string>.Action |
||
userName | string | |
password | string | |
callback | string>.Action | |
return | void |
public ParseImage ( |
||
image | ||
member | ||
return |
public ParseImage ( |
||
image | ||
member | ||
doc | HtmlAgilityPack.HtmlDocument | |
return |
public ParseImage ( int imageId, string referer = null ) : |
||
imageId | int | |
referer | string | |
return |
public static ParseImagePopUp ( |
||
image | ||
doc | HtmlAgilityPack.HtmlDocument | |
return |
public ParseMember ( HtmlAgilityPack.HtmlDocument doc, |
||
doc | HtmlAgilityPack.HtmlDocument | |
member | ||
mode | MemberMode | |
return |
public ParseMember ( int memberId, MemberMode mode, int page ) : |
||
memberId | int | |
mode | MemberMode | |
page | int | |
return |
public ParseMyImageBookmark ( int page ) : bool>.Tuple |
||
page | int | |
return | bool>.Tuple |
public ParseMyMemberBookmark ( int page ) : bool>.Tuple |
||
page | int | |
return | bool>.Tuple |
public ParseSearch ( HtmlAgilityPack.HtmlDocument doc, |
||
doc | HtmlAgilityPack.HtmlDocument | |
search | ||
return |
public Search ( |
||
option | ||
return |