Option
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
Option.Raw
Export option used to export the
JSON
property.
Option.ID
Export option used to export the
ID
property.
Option.Title
Export option used to export the
title
method.
Option.Scanlator
Export option used to export the
scanlator
property.
Option.URL
Export option used to export the
URL
property.
Option.API
Export option used to export the
API
property.
Option.MediaID
Export option used to export the
media ID
property.
Option.Epos
Export option used to export the
epos
property.
Option.NumFavorites
Export option used to export the
num favorites
property.
Option.Tag
Export option used to export the
tag
property.
Option.Group
Export option used to export the
group
property.
Option.Parody
Export option used to export the
parody
property.
Option.Character
Export option used to export the
character
property.
Option.Language
Export option used to export the
language
property.
Option.Artist
Export option used to export the
artist
property.
Option.Category
Export option used to export the
category
property.
Option.Cover
Export option used to export the
cover
property.
Option.Thumbnail
Export option used to export the
thumbnail
property.
Option.Images
Export option used to export the
image URLs
property.
Option.NumPages
Export option used to export the
num pages
property.
Methods
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)