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][error] TypeError when downloading removed reddit gallery link #953

Closed
jjohnsonk opened this issue Aug 20, 2020 · 0 comments
Closed
Labels

Comments

@jjohnsonk
Copy link

jjohnsonk commented Aug 20, 2020

As the title states. The link is to a NSFW subreddit FYI. I tried to find another gallery that had been deleted (and wasn't NSFW), but was unable to after a good bit of searching.

gallery-dl --verbose --ignore-config https://www.reddit.com/gallery/icfgzv

[gallery-dl][debug] Version 1.14.4
[gallery-dl][debug] Python 3.8.1 - Windows-7-6.1.7601-SP1
[gallery-dl][debug] requests 2.24.0 - urllib3 1.25.9
[gallery-dl][debug] Starting DownloadJob for 'https://www.reddit.com/gallery/icfgzv'
[reddit][debug] Using RedditSubmissionExtractor for 'https://www.reddit.com/gallery/icfgzv'
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): oauth.reddit.com:443
[urllib3.connectionpool][debug] https://oauth.reddit.com:443 "GET /comments/icfgzv/.json?limit=0&raw_json=1 HTTP/1.1" 200 1134
[reddit][error] An unexpected error occurred: TypeError - 'NoneType' object is not subscriptable. 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 "e:\bin\python\lib\site-packages\gallery_dl\job.py", line 64, in run
    for msg in self.extractor:
  File "e:\bin\python\lib\site-packages\gallery_dl\extractor\reddit.py", line 61, in items
    items = submission["gallery_data"]["items"]
TypeError: 'NoneType' object is not subscriptable
@mikf mikf closed this as completed in a57b6b3 Aug 20, 2020
@mikf mikf added the bug label Aug 20, 2020
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