Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MangaDex] [Error] An unexpected error occurred: KeyError - 'data'. #2190

Closed
phi-ez opened this issue Jan 13, 2022 · 2 comments
Closed

[MangaDex] [Error] An unexpected error occurred: KeyError - 'data'. #2190

phi-ez opened this issue Jan 13, 2022 · 2 comments

Comments

@phi-ez
Copy link

phi-ez commented Jan 13, 2022

> gallery-dl --verbose --chapter-filter "lang =='en'" 'https://mangadex.org/title/129b4380-a229-4179-acc0-990f3a99e132/rojica-to-rakkasei'

[gallery-dl][debug] Version 1.19.0
[gallery-dl][debug] Python 3.9.5 - Windows-10-10.0.19042-SP0
[gallery-dl][debug] requests 2.25.1 - urllib3 1.26.5
[gallery-dl][debug] Starting DownloadJob for 'https://mangadex.org/title/129b4380-a229-4179-acc0-990f3a99e132/rojica-to-rakkasei'
[mangadex][debug] Using MangadexMangaExtractor for 'https://mangadex.org/title/129b4380-a229-4179-acc0-990f3a99e132/rojica-to-rakkasei'
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): api.mangadex.org:443
[urllib3.connectionpool][debug] https://api.mangadex.org:443 "GET /manga/129b4380-a229-4179-acc0-990f3a99e132/feed?order%5Bvolume%5D=asc&order%5Bchapter%5D=asc&contentRating%5B%5D=safe&contentRating%5B%5D=suggestive&contentRating%5B%5D=erotica&contentRating%5B%5D=pornographic&offset=0 HTTP/1.1" 200 None
[urllib3.connectionpool][debug] https://api.mangadex.org:443 "GET /manga/129b4380-a229-4179-acc0-990f3a99e132 HTTP/1.1" 200 1025
[mangadex][error] An unexpected error occurred: KeyError - 'data'. Please run gallery-dl again with the --verbose flag, copy its output and report this issue on https://github.com/mikf/gallery-dl/issues .
[mangadex][debug]
Traceback (most recent call last):
  File "d:\program files\python\lib\site-packages\gallery_dl\job.py", line 80, in run
    for msg in extractor:
  File "d:\program files\python\lib\site-packages\gallery_dl\extractor\mangadex.py", line 41, in items
    data = self._transform(chapter)
  File "d:\program files\python\lib\site-packages\gallery_dl\extractor\mangadex.py", line 75, in _transform
    "count"   : len(cattributes["data"]),
KeyError: 'data'```
@kattjevfel
Copy link
Contributor

kattjevfel commented Jan 13, 2022

This has been fixed in the current release, please update.

@mikf
Copy link
Owner

mikf commented Jan 13, 2022

There is also a pinned issue with the same title: #2177

@mikf mikf closed this as completed Jan 13, 2022
@mikf mikf added the duplicate label Jan 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants