Option

insert_link hentai.Option(Enum)

Defines export options for the Hentai and Utils class. By default, all options (with the exception of Option.Raw) are used in those affected methods. See also the documentation for Enum on python's docs page.

Enum

insert_link Option.Raw

Export option used to export the JSON property.

insert_link Option.ID

Export option used to export the ID property.

insert_link Option.Title

Export option used to export the title method.

insert_link Option.Scanlator

Export option used to export the scanlator property.

insert_link Option.URL

Export option used to export the URL property.

insert_link Option.API

Export option used to export the API property.

insert_link Option.MediaID

Export option used to export the media ID property.

insert_link Option.Epos

Export option used to export the epos property.

insert_link Option.NumFavorites

Export option used to export the num favorites property.

insert_link Option.Tag

Export option used to export the tag property.

insert_link Option.Group

Export option used to export the group property.

insert_link Option.Parody

Export option used to export the parody property.

insert_link Option.Character

Export option used to export the character property.

insert_link Option.Language

Export option used to export the language property.

insert_link Option.Artist

Export option used to export the artist property.

insert_link Option.Category

Export option used to export the category property.

insert_link Option.Cover

Export option used to export the cover property.

insert_link Option.Thumbnail

Export option used to export the thumbnail property.

insert_link Option.Images

Export option used to export the image URLs property.

insert_link Option.NumPages

Export option used to export the num pages property.

Methods

insert_link Option.all() -> List[Option]

Return a list of all available options with the exception of Option.Raw.

            
                from hentai import Option

                # ID
                # Title
                # Scanlator
                # ...
                for option in Option.all():
                    print(option.name)