Skip to content

Issue with downloading Instagram pictures and videos #8714

@far14c

Description

@far14c

OS: Windows 11 24H2 (OS Build 26100.7462) x86_64 v2

C:\Downloaded>gallery-dl https://www.instagram.com/steezystudio/ --cookies C:\Users\Lenovo\Downloads\cookies.facebook.txt --verbose
[gallery-dl][debug] Version 1.30.10 - Executable (stable/windows)
[gallery-dl][debug] Python 3.13.7 - Windows-11-10.0.26100-SP0
[gallery-dl][debug] requests 2.32.5 - urllib3 2.5.0
[gallery-dl][debug] Configuration Files ['%APPDATA%\\gallery-dl\\config.json']
[gallery-dl][debug] Starting DownloadJob for 'https://www.instagram.com/steezystudio/'
[instagram][debug] Using InstagramUserExtractor for 'https://www.instagram.com/steezystudio/'
[instagram][debug] Using InstagramPostsExtractor for 'https://www.instagram.com/steezystudio/posts/'
[instagram][debug] cookies: Loading cookies from 'C:\Users\Lenovo\Downloads\cookies.facebook.txt'
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): www.instagram.com:443
[urllib3.connectionpool][debug] https://www.instagram.com:443 "GET /api/v1/users/web_profile_info/?username=steezystudio HTTP/1.1" 200 1905
[instagram][debug] Sleeping 9.17 seconds (request)
[urllib3.connectionpool][debug] https://www.instagram.com:443 "GET /api/v1/feed/user/1551933355/?count=30 HTTP/1.1" 302 0
[urllib3.connectionpool][debug] https://www.instagram.com:443 "GET / HTTP/1.1" 200 None
[instagram][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 .
[instagram][debug]
Traceback (most recent call last):
  File "gallery_dl\job.py", line 152, in run
  File "gallery_dl\extractor\instagram.py", line 77, in items
  File "gallery_dl\extractor\instagram.py", line 953, in _pagination
  File "gallery_dl\extractor\instagram.py", line 944, in _call
  File "gallery_dl\extractor\common.py", line 273, 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)

Get this on any URLs despite cookies always renewed

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions