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

[reddit] gallery error, KeyError: 's' #1127

Closed
slowthgt opened this issue Nov 21, 2020 · 0 comments
Closed

[reddit] gallery error, KeyError: 's' #1127

slowthgt opened this issue Nov 21, 2020 · 0 comments
Labels

Comments

@slowthgt
Copy link

https://www.reddit.com/r/cosplay/comments/jvwaqr/self_zero_two_first_shoot_in_the_plugsuit/
The post itself looks weird as its not a gallery nor a crosspost. Might want to look into handling it.

PoC Log:

>gallery-dl --verbose https://www.reddit.com/r/cosplay/comments/jvwaqr/self_zero_two_first_shoot_in_the_plugsuit/
[gallery-dl][debug] Version 1.15.3
[gallery-dl][debug] Python 3.7.9 - Windows-10-10.0.18362
[gallery-dl][debug] requests 2.24.0 - urllib3 1.25.11
[gallery-dl][debug] Starting DownloadJob for 'https://www.reddit.com/r/cosplay/comments/jvwaqr/self_zero_two_first_shoot_in_the_plugsuit/'
[reddit][debug] Using RedditSubmissionExtractor for 'https://www.reddit.com/r/cosplay/comments/jvwaqr/self_zero_two_first_shoot_in_the_plugsuit/'
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): oauth.reddit.com:443
[urllib3.connectionpool][debug] https://oauth.reddit.com:443 "GET /comments/jvwaqr/.json?limit=0&raw_json=1 HTTP/1.1" 200 1712
# .\gallery-dl\reddit\cosplay\jvwaqr 01 [self] zero two. First shoot in the plugsuit.jpg
[reddit][error] An unexpected error occurred: KeyError - 's'. Please run gallery-dl again with the --verbose flag, copy its output and report this issue on https://github.com/mikf/gallery-dl/issues .
[reddit][debug]
Traceback (most recent call last):
  File "gallery_dl\job.py", line 67, in run
  File "gallery_dl\extractor\reddit.py", line 63, in items
  File "gallery_dl\extractor\reddit.py", line 126, in _extract_gallery
KeyError: 's'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants