-
-
Notifications
You must be signed in to change notification settings - Fork 950
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) How to download a disabled blog from tumblr? #137
Comments
Does it work without specifying the |
@Hrxn in case just the command 'gallery-dl -o reblogs=true number13-mw.tumblr.com'? Yes, it works! |
You need to put Conceptually you want to compare a variable ( |
@mikf Thank you very much, it worked! But what if I want to filter by any |
Not sure what you are trying to do here.. It's kind of a habit that some blogs on Tumblr suddenly disappear, nothing new. So other blogs reblog them specifically, as a backup strategy.. |
or you could even use regular expressions: |
@mikf The first option worked perfectly, thank you! But anyway, I have some other problems and I hope it's not wrong to post here. The gallery-dl downloads reblogged content from some blogs even when the "reblogs=false" parameter is used. Below an example blog, could you take a look? And gallery-dl is not downloading the attached image in the post below even with "posts=all" and "inline=true". Am I doing something wrong? And a request: could you consider including the profile pic and cover when downloading an entire tumblr blog? Thank you one more time! |
I did and I couldn't find anything wrong. i ran
and it didn't download anything, as it should. Could you point me to a specific post where this is supposed to happen?
Fixed with b7a9f6c
The profile picture or "avatar" is possible, but I don't know where to get the cover from when only using API calls. That's the background image in the header of a blog, right? |
@mikf "and it didn't download anything, as it should. Could you point me to a specific post where this is supposed to happen?" "Fixed with b7a9f6c" "The profile picture or "avatar" is possible, but I don't know where to get the cover from when only using API calls. That's the background image in the header of a blog, right?" And now I'm trying to download another deleted blog from another blog that has reblogged its content but apparently has some error in processing. Could you take another look? $ gallery-dl -v -d /sdcard/gallery-dl/tumblrs_deletados/pastinha-de-nudes -o reblogs=true --filter "'pastinha-de-nudes' in reblogged_root_name" https://giornogiov.tumblr.com |
|
@mikf I tried this command but got no results. Are you sure that is not a post reblogged? It seems to me. But anyway, could you inform me a command to filter by the author name of the post regardless if it is a post reblogged or not? |
You should enable all post types, otherwise gallery-dl will only look at all
If you use a URL pointing to a specific post, it will always download from it regardless of your settings for |
@mikf Okay, there was a big misunderstanding here. I already have "posts=all" and "reblogs=false" in my configuration file, so I only explicitly "reblogs=true" in the command in the times I really needed it (download content from deleted blogs that were found in other blogs). But with this blog "pastinha-de-nudes" I'm not getting success, so I sent the link proving that this content exists in another blog and still the gallery-dl does not download anything. I hope I have been able to clarify everything |
Well, it is downloading 3 files for me, including the ones from the link you posted:
The link you posted here (https://finger-wings.tumblr.com/post/143262946005) is technically not a reblogged post. It is a copy of another post from another blog, sure, but it doesn't count as a reblog from Tumblr's point of view. |
Downloading avatars / profile pictures should work now, but I'm still unsure about the header / cover images. First of all the
That's not necessarily a problem, but there could be a blog out there were it's impossible to get the header image because its URL is never made available. The more important issue is that the header image more often than not just doesn't match or is not what one would expect. The headers for "simple" blogs without custom theme work fine, but for blogs with a more interesting theme they are usually pretty useless. The header for https://americasgreatoutdoors.tumblr.com/ for example would be this beautiful gray pattern: https://assets.tumblr.com/images/default_header/optica_pattern_03.png?_v=a0f20b51ed40eb5a930ab86effe42a40 For http://indolentjellyfish.tumblr.com you get a penguin which is nowhere to be found on the blog itself: https://static.tumblr.com/fa938f7ac8a9165214bed5e224f9f6d9/egrdxy9/mjtn56kzy/tumblr_static_2s1nrjtvlkowkc0k4c8skk48o.jpg From what I can see, those header images are pretty useless, but if you want to download them regardless, let me know. |
@mikf still in the saga of downloading content from deleted blogs through other blogs that reblogged it. The seemingly best possible variable to use in the gallery-dl command is "reblogged_root_name", which is present in all reblogged posts. The problem is that gallery-dl terminates before checking to the oldest blog post, saying the variable has not been defined, I believe it aborts when a single post does not have the "reblogged_root_name" variable. The "slug" variable is present in all posts as far as I could see, so gallery-dl scans through the blog to its oldest post properly. But when the post is a reblog of another reblog of the deleted blog, the slug variable gets no value and so gallery-dl doesn't download the content of that post. Could you tell me how I can download through the reblogged_root_name variable so that gallery-dl does a full blog scan? Thank you! Below is the output using the two variables:
Slug:
|
Since Also if you want to search for
I think the issue here is the single quotation mark at the beginning of the filter expression (2nd character). If true, it would transform the whole expression into a single string, which is always "true". Try
|
I can't believe a single quote gave me such a headache 🤦🏽♂️ |
There is a disabled blog and I know a blog who has reblogged the content of this disabled blog in question. How can I download this content specifically?
The disabled blog was "kawaxxi-neko" but from what I saw Tumblr uses the name "kawaxxi-neko-deactivated2017112" now. I tried the command 'gallery-dl -o reblogs=true --filter "reblogged_root_name == kawaxxi-neko-deactivated2017112" number13-mw.tumblr.com' and the error "NameError: name 'kawaxxi' is not defined" was returned. Would you help me? Thank you!
The text was updated successfully, but these errors were encountered: