MangaParser
MangaParser
Initialize the MangaParser.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
volume |
Path | str
|
The path to the manga volume file or directory. |
required |
Source code in src/mangainfo/_core.py
full_scan
full_scan() -> MangaInfo
Perform a full scan of the manga volume.
Returns:
Type | Description |
---|---|
MangaInfo
|
Information about the manga volume including all parsed pages. |
Notes
Depending on your hardware, this may be slow (~1s) as this will parse every single page in the manga archive.
Source code in src/mangainfo/_core.py
partial_scan
partial_scan() -> MangaInfo
Perform a partial scan of the manga volume, extracting and parsing only the smallest, median, and largest pages.
Returns:
Type | Description |
---|---|
MangaInfo
|
Information about the manga volume including the parsed smallest, median, and largest pages. |
Notes
This is roughly 3x faster than full_scan()
.
Some methods may return less accurate data because they don't have enough pages to work with.