Skip to content

[exhentai] IndexError: string index out of range #2616

@thomaslty

Description

@thomaslty

log:
[gallery-dl][debug] Starting DownloadJob for 'https://exhentai.org/g/1861972/7770ca480e/'
[exhentai][debug] Using ExhentaiGalleryExtractor for 'https://exhentai.org/g/1861972/7770ca480e/'
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): exhentai.org:443
[urllib3.connectionpool][debug] https://exhentai.org:443 "GET /g/1861972/7770ca480e/ HTTP/1.1" 200 13165
[exhentai][warning] Enabled Multi-Page Viewer is not supported
[exhentai][debug] Sleeping for 4.222 seconds
[urllib3.connectionpool][debug] https://exhentai.org:443 "GET /s/af77769347/1861972-1/1861972-1 HTTP/1.1" 200 1630
[exhentai][error] An unexpected error occurred: IndexError - string index out of range. Please run gallery-dl again with the --verbose flag, copy its output and report this issue on https://github.com/mikf/gallery-dl/issues .
[exhentai][debug]
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/gallery_dl/job.py", line 80, in run
for msg in extractor:
File "/usr/local/lib/python3.8/dist-packages/gallery_dl/extractor/exhentai.py", line 200, in items
data = self.get_metadata(gpage)
File "/usr/local/lib/python3.8/dist-packages/gallery_dl/extractor/exhentai.py", line 226, in get_metadata
data = self.metadata_from_page(page)
File "/usr/local/lib/python3.8/dist-packages/gallery_dl/extractor/exhentai.py", line 258, in metadata_from_page
f = data["favorites"][0]
IndexError: string index out of range

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions