Constants¶
All constants/enumerations are available directly from mal_scraper.x
-
class
mal_scraper.consts.AgeRating[source]¶ The age rating of a media item.
MAL Ratings are dubious.
None == Unknown.
Reference: https://myanimelist.net/forum/?topicid=16816
-
mal_g= 'ALL'¶
-
mal_none= 'NONE'¶
-
mal_pg= 'CHILDREN'¶
-
mal_r1= 'RESTRICTEDONE'¶
-
mal_r2= 'RESTRICTEDTWO'¶
-
mal_r3= 'RESTRICTEDTHREE'¶
-
mal_t= 'TEEN'¶
-
-
class
mal_scraper.consts.AiringStatus[source]¶ The airing status of a media item.
-
finished= 'FINISHED'¶
-
ongoing= 'ONGOING'¶
-
pre_air= 'PREAIR'¶
-
-
class
mal_scraper.consts.ConsumptionStatus[source]¶ A person’s status on a media item, e.g. are they currently watching it?
-
backlog= 'BACKLOG'¶
-
completed= 'COMPLETED'¶
-
consuming= 'CONSUMING'¶
-
dropped= 'DROPPED'¶
-
on_hold= 'ONHOLD'¶
-
-
class
mal_scraper.consts.Format[source]¶ The media format of a media item.
-
film= 'FILM'¶
-
movie= 'FILM'¶
-
music= 'MUSIC'¶
-
ona= 'ONA'¶
-
ova= 'OVA'¶
-
special= 'SPECIAL'¶
-
tv= 'TV'¶
-
unknown= 'UNKNOWN'¶
-
-
class
mal_scraper.consts.Retrieved(meta, data)¶ When successfully retrieving from a web-page
-
meta¶ A dict of metadata:
{ 'id_ref': (object) ID of the media depending on the context, 'when': (datetime) Our best guess on the date of this information, }
-
data¶ A dict of data varying on the media.
-
data Alias for field number 1
-
meta Alias for field number 0
-