Error occurs after downloading 200 posts (Instagram)
Hi!
I hope you're doing well. I'm having a strange error that started yesterday, Every time I try to download posts from an Instagram account, an error occurs exactly after 200 downloads. OS: Windows 11 Enterprise 23H2, build 22631.3958
Sample output:
E:\My Pictures\instadown>gallery-dl --verbose -o cursor=2548967375875079087_45742527 https://www.instagram.com/alimirza2 k/ [gallery-dl][debug] Version 1.26.8 - Executable [gallery-dl][debug] Python 3.8.10 - Windows-10-10.0.22631 [gallery-dl][debug] requests 2.31.0 - urllib3 2.1.0 [gallery-dl][debug] Configuration Files [] [gallery-dl][debug] Starting DownloadJob for 'https://www.instagram.com/alimirza2k/' [instagram][debug] Using InstagramUserExtractor for 'https://www.instagram.com/alimirza2k/' [instagram][debug] Using InstagramPostsExtractor for 'https://www.instagram.com/alimirza2k/posts/' [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=alimirza2k HTTP/1.1" 200 49921 [instagram][debug] Sleeping 10.98 seconds (request) [urllib3.connectionpool][debug] https://www.instagram.com:443 "GET /api/v1/feed/user/45742527/?count=30&max_id=2548967375875079087_45742527 HTTP/1.1" 200 46052
.\gallery-dl\instagram\alimirza2k\2548343166190545065.mp4
.\gallery-dl\instagram\alimirza2k\2548097285847764734.mp4
.\gallery-dl\instagram\alimirza2k\2547464835664601421.mp4
.\gallery-dl\instagram\alimirza2k\2547451827567468389.mp4
.\gallery-dl\instagram\alimirza2k\2547373096421347365.mp4
.\gallery-dl\instagram\alimirza2k\2546826044019871892.mp4
[instagram][error] An unexpected error occurred: KeyError - 'url'. 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.pyc", line 127, in run File "gallery_dl\extractor\instagram.pyc", line 70, in items File "gallery_dl\extractor\instagram.pyc", line 240, in _parse_post_rest KeyError: 'url'
Thankful for any help.
You are using an outdated version
Try a recent build, e.g. https://github.com/gdl-org/builds/releases
You are using an outdated version
Try a recent build, e.g. https://github.com/gdl-org/builds/releases
My antivirus keeps blocking me from using the new version? Even if I disable the AVG, when I run gallery-dl.exe, the file is sent to quarantine!