-
-
Notifications
You must be signed in to change notification settings - Fork 975
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
Tumblr list index out of range #129
Comments
If by 1166 items you mean the number of posts on a certain blog (postcount), then this is not the issue, I have already tried it with blogs containing far more posts in the past. And unless they haven't fundamentally changed their site in the last weeks (which is not the case, as far as I can tell), I can guarantee you that this should work just as before. So the crux has to be the specific blog you are trying to process, or maybe rather just one specific post on said blog. Can you provide a link so that someone (like me) can try to reproduce the behavior shown here? Or is there some reason that is against sharing this example? |
Gotcha. Here’s the blog: http://tingtongten.tumblr.com (NSFW) |
The offending post is http://tingtongten.tumblr.com/post/118653991558. |
mikf being very fast again.. 😄 At least I'm here to confirm 9563641 as working:
Note: That But I have one more question with the changes in that commit: gallery-dl/gallery_dl/extractor/tumblr.py Lines 161 to 164 in 9563641
What happens if a blog has more than one of these "problematic" posts, and subsequently gallery-dl encounters an |
While a filename might not be a real 'hash', or comparable to what tumbler usually provides, it is still better than an empty string. At least as long as "alternatives" in format strings aren't implemented.
Hello. It appears that Tumblr blogs with more than 1166 items throws this particular index error. I have sqlite archive enabled. I've attached the verbose output below.
tumblr: Traceback Traceback (most recent call last): File "/usr/local/lib/python3.7/site-packages/gallery_dl/job.py", line 51, in run for msg in self.extractor: File "/usr/local/lib/python3.7/site-packages/gallery_dl/extractor/tumblr.py", line 113, in items yield self._prepare_image(url, post) File "/usr/local/lib/python3.7/site-packages/gallery_dl/extractor/tumblr.py", line 161, in _prepare_image post["hash"] = parts[1] if parts[1] != "inline" else parts[2] IndexError: list index out of range
The text was updated successfully, but these errors were encountered: