You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been trying to figure out the errors it throws, but when I think I fix it, another one pops up. I've tried searching the web and the issues section here, but I am unable to fix my JSON problem. Any help would be appreciated, thank you.
I'm not sure if this is right or not because I copied and pasted this from the owner on here (99% sure).
Also,
In the "postprocessors" section, I added the "directory" line, though I'm not sure if that is the appropriate place for it. I believe I've formatted everything else correctly (for the most part since I'm posting here).
[ --verbose --simulate ]
% gallery-dl "https://www.instagram.com/manurios/" --verbose --simulate
[config][error] JSONDecodeError when loading '/Users/[REDACTED]/.config/gallery-dl/config.json': Expecting ':' delimiter: line 29 column 5 (char 1002)
[gallery-dl][debug] Version 1.26.9
[gallery-dl][debug] Python 3.9.4 - macOS-10.16-x86_64-i386-64bit
[gallery-dl][debug] requests 2.31.0 - urllib3 1.26.18
[gallery-dl][debug] Configuration Files []
[gallery-dl][debug] Starting SimulationJob for 'https://www.instagram.com/manurios/'
[instagram][debug] Using InstagramUserExtractor for 'https://www.instagram.com/manurios/'
[instagram][debug] Using InstagramPostsExtractor for 'https://www.instagram.com/manurios/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=manurios HTTP/1.1" 200 55595
I've been trying to figure out the errors it throws, but when I think I fix it, another one pops up. I've tried searching the web and the issues section here, but I am unable to fix my JSON problem. Any help would be appreciated, thank you.
Edit: I found this https://github.com/mikf/gallery-dl/wiki/config-file-outline#first-steps, and tried using the tools. But I am stuck on (image below) and cannot figure out what it wants. For the "colon", when I put them, it doesn't work. This is from VS code.
It also made me edit
"filename": "count > 1": "{username} - {date:%Y-%m-%d %H.%M.%S} - {post_shortcode} - {sidecar_media_id:?/_/}~{media_id}_{num}.{extension}", "" : "{username} - {date:%Y-%m-%d %H.%M.%S} - {post_shortcode} - {sidecar_media_id:?/_/}~{media_id}.{extension}"
to
"filename": "count > 1", "{username} - {date:%Y-%m-%d %H.%M.%S} - {post_shortcode} - {sidecar_media_id:?/_/}~{media_id}_{num}.{extension}": "" , "{username} - {date:%Y-%m-%d %H.%M.%S} - {post_shortcode} - {sidecar_media_id:?/_/}~{media_id}.{extension}"
Specifically,
(1)
"count > 1":
-->"count > 1",
(2)
"" :
-->"" ,
(3)
.{extension}",
-->.{extension}":
I'm not sure if this is right or not because I copied and pasted this from the owner on here (99% sure).
Also,
[ --verbose --simulate ]
% gallery-dl "https://www.instagram.com/manurios/" --verbose --simulate
[config][error] JSONDecodeError when loading '/Users/[REDACTED]/.config/gallery-dl/config.json': Expecting ':' delimiter: line 29 column 5 (char 1002)
[gallery-dl][debug] Version 1.26.9
[gallery-dl][debug] Python 3.9.4 - macOS-10.16-x86_64-i386-64bit
[gallery-dl][debug] requests 2.31.0 - urllib3 1.26.18
[gallery-dl][debug] Configuration Files []
[gallery-dl][debug] Starting SimulationJob for 'https://www.instagram.com/manurios/'
[instagram][debug] Using InstagramUserExtractor for 'https://www.instagram.com/manurios/'
[instagram][debug] Using InstagramPostsExtractor for 'https://www.instagram.com/manurios/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=manurios HTTP/1.1" 200 55595
[Instagram Config]
The text was updated successfully, but these errors were encountered: