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

Question: Tumblr download offset? #337

Closed
indrakaw opened this issue Jul 16, 2019 · 3 comments
Closed

Question: Tumblr download offset? #337

indrakaw opened this issue Jul 16, 2019 · 3 comments

Comments

@indrakaw
Copy link

indrakaw commented Jul 16, 2019

Is it possible to download certain range of year on Tumblr? I want the years before 2010 and pass, not the latest ones.

@mikf
Copy link
Owner

mikf commented Jul 17, 2019

One way to accomplish that is explained in the second paragraph here: #292 (comment), but this is rather inefficient, especially when you want to go back to 2010.

There are date-min/-max options for Reddit, which allow to filter by date, and with 8d1ae9b they are now also available for Tumblr and are more efficient than using --filter ( tumblr.date-min/-max ).

To get all posts from 2010 and before, you can now do

gallery-dl -o date-max=2011-01-01T00:00:00 <Tumblr URL>

(It might take a while until Tumblr serves the first batch of post data when jumping back in time, I've noticed while testing. You might even need to increase the read timeout for HTTP requests.)

@mikf mikf closed this as completed Jul 17, 2019
@indrakaw
Copy link
Author

indrakaw commented Jul 18, 2019

I think that way faster than waiting for most downloaded file. Thanks for the explanation.

Edit:
When it would available for download?

@mikf
Copy link
Owner

mikf commented Jul 19, 2019

When it would available for download?

https://github.com/mikf/gallery-dl/releases/tag/v1.9.0

And you can always install the latest Git snapshot with

python3 -m pip install -U --user https://github.com/mikf/gallery-dl/archive/master.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants