Property | Type | Description | |
---|---|---|---|
ColorArtist | Color | ||
ColorBlacklisted | Color | ||
ColorCharacter | Color | ||
ColorCircle | Color | ||
ColorCopyright | Color | ||
ColorDeleted | Color | ||
ColorFaults | Color | ||
ColorGeneral | Color | ||
ColorUnknown | Color |
Method | Description | |
---|---|---|
CheckBlacklistedTag ( |
||
DecodeEncodedNonAsciiCharacters ( string value ) : string |
Decode JSON Encoded Unicode Character to C# string. http://stackoverflow.com/questions/1615559/converting-unicode-strings-to-escaped-ascii-string
|
|
DumpRawData ( string data, |
||
DumpRawData ( string data, string filename ) : bool | ||
FixUrl ( string url, bool useHttps = false, string hostname = null ) : string | ||
FormatByteSize ( long size ) : string | ||
GeneratePasswordHash ( string password, string salt ) : string |
Generate hashed password+salt using SHA1
|
|
IsTagsXmlExist ( ) : bool | ||
MakeFilename ( DanbooruDownloader3.Entity.DanbooruFilenameFormat format, |
For constructing TAGS_FILENAME.
|
|
PadUserAgent ( string originalUserAgent ) : string |
Pad user agent with current date/time.
|
|
ParseCookie ( string cookiesStr, string url ) : List |
||
ParseTags ( string p, |
||
RemoveAuthInfo ( string url ) : string |
Replace password_hash param with '*'
|
|
RemoveControlCharacters ( string inString ) : string |
Remove control char from unicode string http://stackoverflow.com/a/6799681
|
|
SanitizeFilename ( string input, bool allowPathSeparator = false ) : string |
Sanitize the TAGS_FILENAME.
|
|
Shutdown ( ) : void | ||
WriteTextFile ( string content, string filename = null ) : void | ||
getFileExtensions ( string url ) : string | ||
shortSpeedStr ( long speed ) : string |
http://stackoverflow.com/a/14488941
|
Method | Description | |
---|---|---|
FilterTags ( |
Return string from tag filtered by tag type. Replace the returned string with tagReplacement if tag count over tagLimit. Replace the returned string with missingTagReplacement if tag count is 0.
|
|
ReadTagsFromTextFile ( string filename ) : List |
||
RemoveIgnoredTags ( DanbooruDownloader3.Entity.DanbooruFilenameFormat format, List |
||
WriteTagFile ( |
public static CheckBlacklistedTag ( |
||
post | ||
option | DanbooruDownloader3.Entity.DanbooruPostDaoOption | |
return | bool |
public static DecodeEncodedNonAsciiCharacters ( string value ) : string | ||
value | string | |
return | string |
public static DumpRawData ( string data, |
||
data | string | |
provider | ||
query | string | |
return | bool |
public static DumpRawData ( string data, string filename ) : bool | ||
data | string | |
filename | string | |
return | bool |
public static FixUrl ( string url, bool useHttps = false, string hostname = null ) : string | ||
url | string | |
useHttps | bool | |
hostname | string | |
return | string |
public static FormatByteSize ( long size ) : string | ||
size | long | |
return | string |
public static GeneratePasswordHash ( string password, string salt ) : string | ||
password | string | |
salt | string | |
return | string |
public static MakeFilename ( DanbooruDownloader3.Entity.DanbooruFilenameFormat format, |
||
format | DanbooruDownloader3.Entity.DanbooruFilenameFormat | |
post | ||
return | string |
public static PadUserAgent ( string originalUserAgent ) : string | ||
originalUserAgent | string | |
return | string |
public static ParseCookie ( string cookiesStr, string url ) : List |
||
cookiesStr | string | |
url | string | |
return | List |
public static ParseTags ( string p, |
||
p | string | |
provider | ||
return | List |
public static RemoveAuthInfo ( string url ) : string | ||
url | string | |
return | string |
public static RemoveControlCharacters ( string inString ) : string | ||
inString | string | |
return | string |
public static SanitizeFilename ( string input, bool allowPathSeparator = false ) : string | ||
input | string | |
allowPathSeparator | bool | |
return | string |
public static WriteTextFile ( string content, string filename = null ) : void | ||
content | string | |
filename | string | |
return | void |
public static getFileExtensions ( string url ) : string | ||
url | string | |
return | string |
public static shortSpeedStr ( long speed ) : string | ||
speed | long | |
return | string |