Skip to content

[Weebdex] Error with --chapter-filter, --chapter-range, and downloading chapters without a volume in general #8954

@alaki-talaki

Description

@alaki-talaki

While using this command:
gallery-dl --chapter-filter "1 <= chapter < 8" -o "lang=en" "https://weebdex.org/title/f29vfu3dd4/yotsuba-to"

I got this error:

[gallery-dl][debug] Version 1.31.4 - Executable (stable/windows)
[gallery-dl][debug] Python 3.13.7 - Windows-11-10.0.26200-SP0
[gallery-dl][debug] requests 2.32.5 - urllib3 2.6.3
[gallery-dl][debug] Configuration Files ['%APPDATA%\gallery-dl\config.json']
[gallery-dl][debug] Starting DownloadJob for 'https://weebdex.org/title/f29vfu3dd4/yotsuba-to'
[weebdex][debug] Using WeebdexMangaExtractor for 'https://weebdex.org/title/f29vfu3dd4/yotsuba-to'
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): api.weebdex.org:443
[urllib3.connectionpool][debug] https://api.weebdex.org:443 "GET /manga/f29vfu3dd4 HTTP/1.1" 200 None
[weebdex][debug] Sleeping 0.20 seconds (request)
[urllib3.connectionpool][debug] https://api.weebdex.org:443 "GET /manga/f29vfu3dd4/chapters?limit=100&order=desc HTTP/1.1" 200 None
[weebdex][error] An unexpected error occurred: KeyError - 'volume'. Please run gallery-dl again with the --verbose flag, copy its output and report this issue on https://github.com/mikf/gallery-dl/issues .
[weebdex][debug]
Traceback (most recent call last):
File "gallery_dl\job.py", line 158, in run
File "gallery_dl\job.py", line 209, in dispatch
File "gallery_dl\extractor\common.py", line 900, in items
File "gallery_dl\extractor\weebdex.py", line 109, in chapters
KeyError: 'volume'

The chapters in that range all should have the volume info.

The same thing happens with this command:
gallery-dl --chapter-range 1-8 -o "lang=en" --verbose "https://weebdex.org/title/f29vfu3dd4/yotsuba-to"

Gives the following error:

[gallery-dl][debug] Version 1.31.4 - Executable (stable/windows)
[gallery-dl][debug] Python 3.13.7 - Windows-11-10.0.26200-SP0
[gallery-dl][debug] requests 2.32.5 - urllib3 2.6.3
[gallery-dl][debug] Configuration Files ['%APPDATA%\gallery-dl\config.json']
[gallery-dl][debug] Starting DownloadJob for 'https://weebdex.org/title/f29vfu3dd4/yotsuba-to'
[weebdex][debug] Using WeebdexMangaExtractor for 'https://weebdex.org/title/f29vfu3dd4/yotsuba-to'
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): api.weebdex.org:443
[urllib3.connectionpool][debug] https://api.weebdex.org:443 "GET /manga/f29vfu3dd4 HTTP/1.1" 200 None
[weebdex][debug] Sleeping 0.20 seconds (request)
[urllib3.connectionpool][debug] https://api.weebdex.org:443 "GET /manga/f29vfu3dd4/chapters?limit=100&order=desc HTTP/1.1" 200 None
[weebdex][error] An unexpected error occurred: KeyError - 'volume'. Please run gallery-dl again with the --verbose flag, copy its output and report this issue on https://github.com/mikf/gallery-dl/issues .
[weebdex][debug]
Traceback (most recent call last):
File "gallery_dl\job.py", line 158, in run
File "gallery_dl\job.py", line 209, in dispatch
File "gallery_dl\extractor\common.py", line 900, in items
File "gallery_dl\extractor\weebdex.py", line 109, in chapters
KeyError: 'volume'

I think the same thing happens with chapters missing the volume info, for example:
Ch. 114 - Yotsuba & The Teacher

I used this command:
gallery-dl -v "https://weebdex.org/chapter/0fignihbv8"

And got this error:

[gallery-dl][debug] Version 1.31.4 - Executable (stable/windows)
[gallery-dl][debug] Python 3.13.7 - Windows-11-10.0.26200-SP0
[gallery-dl][debug] requests 2.32.5 - urllib3 2.6.3
[gallery-dl][debug] Configuration Files ['%APPDATA%\gallery-dl\config.json']
[gallery-dl][debug] Starting DownloadJob for 'https://weebdex.org/chapter/0fignihbv8'
[weebdex][debug] Using WeebdexChapterExtractor for 'https://weebdex.org/chapter/0fignihbv8'
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): api.weebdex.org:443
[urllib3.connectionpool][debug] https://api.weebdex.org:443 "GET /chapter/0fignihbv8 HTTP/1.1" 200 None
[weebdex][debug] Sleeping 0.20 seconds (request)
[urllib3.connectionpool][debug] https://api.weebdex.org:443 "GET /manga/f29vfu3dd4 HTTP/1.1" 200 None
[weebdex][error] An unexpected error occurred: KeyError - 'volume'. Please run gallery-dl again with the --verbose flag, copy its output and report this issue on https://github.com/mikf/gallery-dl/issues .
[weebdex][debug]
Traceback (most recent call last):
File "gallery_dl\job.py", line 158, in run
File "gallery_dl\job.py", line 209, in dispatch
File "gallery_dl\extractor\common.py", line 801, in items
File "gallery_dl\extractor\weebdex.py", line 53, in metadata
KeyError: 'volume'

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions