v0.1.2 Manga Series and Chapter details
Series and Chapter metadata
Additionally bundled are scripts to lookup the chapter ids for the fecthing script. The manga details script requires a series slug to lookup available (free) chapters.
CLI Options
usage: manga_details.py [-h] {series,chapters} ...
Lookup Viz managa information.
positional arguments:
{series,chapters}
series Get series title and slug (for chapter lookup) obtained from the Viz site.
chapters Get chapter title and id obtained from the Viz site.
options:
-h, --help show this help message and exit
Lookup Manga Series
>>> python manga_details.py series
{'name': '7thGARDEN', 'slug': '7th-garden'}
{'name': 'Agravity Boys', 'slug': 'agravity-boys'}
{'name': 'Akane-banashi', 'slug': 'akane-banashi'}
{'name': "Akira Toriyama's Manga Theater", 'slug': 'akira-toriyamas-manga-theater'}
{'name': 'All You Need is Kill', 'slug': 'all-you-need-is-kill-manga'}
{'name': 'Assassination Classroom', 'slug': 'assassination-classroom'}
Lookup Manga Chapters
>>> python manga_details.py chapters 7th-garden
{'title': 'ch-1', 'id': '15220', 'link': 'https://www.viz.com/shonenjump/7th-garden-chapter-1/chapter/15220', 'is_free': True}
{'title': 'ch-2', 'id': '15221', 'link': 'https://www.viz.com/shonenjump/7th-garden-chapter-2/chapter/15221', 'is_free': True}
{'title': 'ch-3', 'id': '15222', 'link': 'https://www.viz.com/shonenjump/7th-garden-chapter-3/chapter/15222', 'is_free': True}
{'title': 'ch-4', 'id': '15223', 'link': 'https://www.viz.com/shonenjump/7th-garden-chapter-4/chapter/15223', 'is_free': False}
{'title': 'ch-5', 'id': '15224', 'link': 'https://www.viz.com/shonenjump/7th-garden-chapter-5/chapter/15224', 'is_free': False}
Get Manga Chapter
>>> python manga_fetch.py 15220 --directory images/ --combine
INFO:root:Getting 79 pages for Root 1: The Demon's Servant
Successfully retrieved chapter 15220