Scan
Gère l'ensemble des chapitres d'un manga associé.
from YoitsuWrap.Scan import Scan scan = Scan.search_by_name(manga_name="Frieren", config=config) if scan: print(f"Total chapitres : {scan.get_number_of_chapters()}") print(f"Total pages : {scan.get_number_of_pages()}") # Télécharger tous les scans ou un chapitre précis scan.download_scan(chapter=1, images_workers=4)
Chapter
Permet d'accéder au découpage page par page d'un chapitre spécifique.
from YoitsuWrap.Chapter import Chapter chapitres = Chapter.search_by_name(manga_title="Frieren", config=config) chap_1 = chapitres[1] print(chap_1.get_chapter_name()) # "Chapitre 1" print(chap_1.get_page_link()[:3]) # Premières URLs des pages chap_1.download_chapter(max_workers=4)
There was an error while loading. Please reload this page.
🔗 Dépôt GitHub