Plugin API Reference¶
Scraped Data¶
- class hircine.scraper.types.Censorship(value: Censorship)¶
A scraped censorship specifier, represented by an enum.
- class hircine.scraper.types.Date(value: date)¶
A scraped date.
:param
date
value: The date.- classmethod from_iso(datestring)¶
Returns a new instance of this class given a textual representation of a date in the format
YYYY-MM-DD
. Seedatetime.date.fromisoformat()
.- Parameters:
datestring (str) – The string of text representing a date.
- Raise:
ScrapeWarning
if the date string could not be parsed.
- classmethod from_timestamp(timestamp)¶
Returns a new instance of this class given a textual representation of a POSIX timestamp. See
datetime.date.fromtimestamp()
.- Parameters:
timestamp (str) – The string of text representing a POSIX timestamp.
- Raise:
ScrapeWarning
if the timestamp could not be parsed.
- class hircine.scraper.types.Direction(value: Direction)¶
A scraped direction, represented by an enum.
- class hircine.scraper.types.Language(value: Language)¶
A scraped language, represented by an enum.
- classmethod from_iso_639_3(string)¶
Returns a new instance of this class given a case-insensitive ISO 639-3 language code.
- Parameters:
string (str) – The ISO 639-3 language code.
- Raise:
ScrapeWarning
if the language code could not be parsed.
- classmethod from_name(string)¶
Returns a new instance of this class given a case-insensitive language name. Permissible language names are defined in
hircine.enums.Language
.- Parameters:
string (str) – The language name.
- Raise:
ScrapeWarning
if the language name could not be parsed.
- class hircine.scraper.types.Tag(namespace: str, tag: str)¶
A qualified tag, represented by strings.
- classmethod from_string(string, delimiter=':')¶
Returns a new instance of this class given a textual representation, usually a qualified tag in the format
<namespace>:<tag>
. If no delimiter is found, the namespace is assumed to benone
and the given string is used as a tag instead.
API Data¶
- class hircine.api.types.FullComic(model)¶
-
- censorship: Censorship | None¶
Enums¶
- class hircine.enums.Category¶
- ARTBOOK = 'Artbook'¶
- COMIC = 'Comic'¶
- DOUJINSHI = 'Doujinshi'¶
- GAME_CG = 'Game CG'¶
- IMAGE_SET = 'Image Set'¶
- MANGA = 'Manga'¶
- VARIANT_SET = 'Variant Set'¶
- WEBTOON = 'Webtoon'¶
- class hircine.enums.Language¶
- AA = 'Afar'¶
- AB = 'Abkhazian'¶
- AE = 'Avestan'¶
- AF = 'Afrikaans'¶
- AK = 'Akan'¶
- AM = 'Amharic'¶
- AN = 'Aragonese'¶
- AR = 'Arabic'¶
- AS = 'Assamese'¶
- AV = 'Avaric'¶
- AY = 'Aymara'¶
- AZ = 'Azerbaijani'¶
- BA = 'Bashkir'¶
- BE = 'Belarusian'¶
- BG = 'Bulgarian'¶
- BH = 'Bihari languages'¶
- BI = 'Bislama'¶
- BM = 'Bambara'¶
- BN = 'Bengali'¶
- BO = 'Tibetan'¶
- BR = 'Breton'¶
- BS = 'Bosnian'¶
- CA = 'Catalan'¶
- CE = 'Chechen'¶
- CH = 'Chamorro'¶
- CO = 'Corsican'¶
- CR = 'Cree'¶
- CS = 'Czech'¶
- CU = 'Church Slavic'¶
- CV = 'Chuvash'¶
- CY = 'Welsh'¶
- DA = 'Danish'¶
- DE = 'German'¶
- DV = 'Divehi'¶
- DZ = 'Dzongkha'¶
- EE = 'Ewe'¶
- EL = 'Modern Greek'¶
- EN = 'English'¶
- EO = 'Esperanto'¶
- ES = 'Spanish'¶
- ET = 'Estonian'¶
- EU = 'Basque'¶
- FA = 'Persian'¶
- FF = 'Fulah'¶
- FI = 'Finnish'¶
- FJ = 'Fijian'¶
- FO = 'Faroese'¶
- FR = 'French'¶
- FY = 'Western Frisian'¶
- GA = 'Irish'¶
- GD = 'Gaelic'¶
- GL = 'Galician'¶
- GN = 'Guarani'¶
- GU = 'Gujarati'¶
- GV = 'Manx'¶
- HA = 'Hausa'¶
- HE = 'Hebrew'¶
- HI = 'Hindi'¶
- HO = 'Hiri Motu'¶
- HR = 'Croatian'¶
- HT = 'Haitian'¶
- HU = 'Hungarian'¶
- HY = 'Armenian'¶
- HZ = 'Herero'¶
- IA = 'Interlingua'¶
- ID = 'Indonesian'¶
- IE = 'Interlingue'¶
- IG = 'Igbo'¶
- II = 'Sichuan Yi'¶
- IK = 'Inupiaq'¶
- IO = 'Ido'¶
- IS = 'Icelandic'¶
- IT = 'Italian'¶
- IU = 'Inuktitut'¶
- JA = 'Japanese'¶
- JV = 'Javanese'¶
- KA = 'Georgian'¶
- KG = 'Kongo'¶
- KI = 'Kikuyu'¶
- KJ = 'Kuanyama'¶
- KK = 'Kazakh'¶
- KL = 'Kalaallisut'¶
- KM = 'Central Khmer'¶
- KN = 'Kannada'¶
- KO = 'Korean'¶
- KR = 'Kanuri'¶
- KS = 'Kashmiri'¶
- KU = 'Kurdish'¶
- KV = 'Komi'¶
- KW = 'Cornish'¶
- KY = 'Kirghiz'¶
- LA = 'Latin'¶
- LB = 'Luxembourgish'¶
- LG = 'Ganda'¶
- LI = 'Limburgan'¶
- LN = 'Lingala'¶
- LO = 'Lao'¶
- LT = 'Lithuanian'¶
- LU = 'Luba-Katanga'¶
- LV = 'Latvian'¶
- MG = 'Malagasy'¶
- MH = 'Marshallese'¶
- MI = 'Maori'¶
- MK = 'Macedonian'¶
- ML = 'Malayalam'¶
- MN = 'Mongolian'¶
- MR = 'Marathi'¶
- MS = 'Malay'¶
- MT = 'Maltese'¶
- MY = 'Burmese'¶
- NA = 'Nauru'¶
- NB = 'Norwegian Bokmål'¶
- ND = 'North Ndebele'¶
- NE = 'Nepali'¶
- NG = 'Ndonga'¶
- NL = 'Dutch'¶
- NN = 'Norwegian Nynorsk'¶
- NO = 'Norwegian'¶
- NR = 'South Ndebele'¶
- NV = 'Navajo'¶
- NY = 'Chichewa'¶
- OC = 'Occitan'¶
- OJ = 'Ojibwa'¶
- OM = 'Oromo'¶
- OR = 'Oriya'¶
- OS = 'Ossetian'¶
- PA = 'Panjabi'¶
- PI = 'Pali'¶
- PL = 'Polish'¶
- PS = 'Pushto'¶
- PT = 'Portuguese'¶
- QU = 'Quechua'¶
- RM = 'Romansh'¶
- RN = 'Rundi'¶
- RO = 'Romanian'¶
- RU = 'Russian'¶
- RW = 'Kinyarwanda'¶
- SA = 'Sanskrit'¶
- SC = 'Sardinian'¶
- SD = 'Sindhi'¶
- SE = 'Northern Sami'¶
- SG = 'Sango'¶
- SI = 'Sinhala'¶
- SK = 'Slovak'¶
- SL = 'Slovenian'¶
- SM = 'Samoan'¶
- SN = 'Shona'¶
- SO = 'Somali'¶
- SQ = 'Albanian'¶
- SR = 'Serbian'¶
- SS = 'Swati'¶
- ST = 'Southern Sotho'¶
- SU = 'Sundanese'¶
- SV = 'Swedish'¶
- SW = 'Swahili'¶
- TA = 'Tamil'¶
- TE = 'Telugu'¶
- TG = 'Tajik'¶
- TH = 'Thai'¶
- TI = 'Tigrinya'¶
- TK = 'Turkmen'¶
- TL = 'Tagalog'¶
- TN = 'Tswana'¶
- TO = 'Tonga'¶
- TR = 'Turkish'¶
- TS = 'Tsonga'¶
- TT = 'Tatar'¶
- TW = 'Twi'¶
- TY = 'Tahitian'¶
- UG = 'Uighur'¶
- UK = 'Ukrainian'¶
- UR = 'Urdu'¶
- UZ = 'Uzbek'¶
- VE = 'Venda'¶
- VI = 'Vietnamese'¶
- VO = 'Volapük'¶
- WA = 'Walloon'¶
- WO = 'Wolof'¶
- XH = 'Xhosa'¶
- YI = 'Yiddish'¶
- YO = 'Yoruba'¶
- ZA = 'Zhuang'¶
- ZH = 'Chinese'¶
- ZU = 'Zulu'¶