Skip to content

[Fandom] Error in JSON decoder #8861

@Selenne

Description

@Selenne

Trying to download images from any fandom page seems to result in a following error:

[gallery-dl][debug] Version 1.31.2 - Executable (stable/windows)
[gallery-dl][debug] Python 3.13.7 - Windows-10-10.0.19044-SP0
[gallery-dl][debug] requests 2.32.5 - urllib3 2.6.2
[gallery-dl][debug] Configuration Files ['R:\\Downloading\\gallery-dl\\gallery-dl.conf']
[gallery-dl][debug] Starting DownloadJob for 'https://afk-arena.fandom.com/wiki/Safiya'
[fandom-afk-arena][debug] Using WikimediaArticleExtractor for 'https://afk-arena.fandom.com/wiki/Safiya'
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): afk-arena.fandom.com:443
[urllib3.connectionpool][debug] https://afk-arena.fandom.com:443 "GET /api.php?generator=images&gimlimit=50&titles=Safiya&action=query&format=json&prop=imageinfo&iiprop=timestamp%7Cuser%7Cuserid%7Ccomment%7Ccanonicaltitle%7Curl%7Csize%7Csha1%7Cmime%7Cmetadata%7Ccommonmetadata%7Cextmetadata%7Cbitdepth&iilimit=1 HTTP/1.1" 200 None
[fandom-afk-arena][error] An unexpected error occurred: JSONDecodeError - Expecting value: line 1 column 1 (char 0). Please run gallery-dl again with the --verbose flag, copy its output and report this issue on https://github.com/mikf/gallery-dl/issues .
[fandom-afk-arena][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\wikimedia.py", line 99, in items
  File "gallery_dl\extractor\wikimedia.py", line 152, in _pagination
  File "gallery_dl\extractor\common.py", line 279, in request_json
  File "json\decoder.py", line 345, in decode
  File "json\decoder.py", line 363, in raw_decode
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions