subnomo / tumblr-likes

Command-line program that downloads liked posts from Tumblr.
MIT License
41 stars 4 forks source link

There is nothing downloaded except empty directory #4

Open simonnier opened 5 years ago

simonnier commented 5 years ago

Dear developers,

I just tried your tools. After running it, it immediately shows an indicator bar and a correct number of likes as shown below image It is so fast to be true to download so many items in a second, and indeed, when I check the download directory, there is nothing downloaded. What is wrong?

best regards

subnomo commented 5 years ago

Run it again in verbose mode like so and let me see the output:

$ tumblr-likes -v -a <API_KEY> -b <BLOG_NAME>
subnomo commented 5 years ago

Make sure your blog is marked as explicit in the blog settings. You won't be able to download explicit posts otherwise.

KoenigKrote commented 5 years ago

Where would the setting be to do that? I'm not seeing any "this blog is explicit" switch anywhere in the blog settings or dashboard

subnomo commented 5 years ago

@KoenigKrote Hmm you're right, it seems like Tumblr has removed the feature 😕. It's normally under the blog visibility settings.

mnymic commented 5 years ago

So, how about reposting likes and then exporting via Tumblr native backup functionality? Is that an option?

mnymic commented 5 years ago

@simonnier @subnomo Actually, I marked my blog explicit long before the adult content madness began. Also, feature still available in android app. Hurry up! @subnomo Many thanks for an awesome tool!

KoenigKrote commented 5 years ago

It is indeed still available under the android app. Set it there, tried again, no change unfortunately :( Finds the same viewable-with-no-login amount of photos.


Response {
    url: "https://api.tumblr.com/v2/blog/<blog>.tumblr.com/likes?api_key=<key>limit=1",
    status: 200,
    headers: {
        "server": "ATS",
        "date": "Fri, 14 Dec 2018 05:42:04 GMT",
        "content-type": "application/json; charset=utf-8",
        "x-content-type-options": "nosniff",
        "vary": "Accept-Encoding",
        "vary": "Accept-Encoding",
        "x-ratelimit-perday-limit": "5000",
        "x-ratelimit-perday-remaining": "4877",
        "x-ratelimit-perday-reset": "85277",
        "x-ratelimit-perhour-limit": "1000",
        "x-ratelimit-perhour-remaining": "877",
        "x-ratelimit-perhour-reset": "2477",
        "x-rid": "2i1biqde16glc",
        "strict-transport-security": "max-age=15552000",
        "p3p": "CP=\"Tumblr's privacy policy is available here: https://www.tumblr.com/policy/en/privacy\"",
        "x-ua-compatible": "IE=Edge,chrome=1",
        "public-key-pins-report-only": "max-age=2592000; pin-sha256=\"2fRAUXyxl4A1/XHrKNBmc8bTkzA7y4FB/GLJuNAzCqY=\"; pin-sha256=\"I/Lt/z7ekCWanjD0Cvj5EqXls2lOaThEA0H2Bg4BT/o=\"; pin-sha256=\"Wd8xe/qfTwq3ylFNd3IpaqLHZbh2ZNCLluVzmeNkcpw=\"; pin-sha256=\"WoiWRyIOVNa9ihaBciRSC7XHjliYS9VwUGOIud4PB18=\"; pin-sha256=\"i7WTqTvh0OioIruIfFR4kMPnBqrS2rdiVPl/s2uC/CY=\"; pin-sha256=\"r/mIkG3eEpVdm+u/ko/cwxzOMo1bk4TyHIlByibiA5E=\"; pin-sha256=\"uUwZgwDOxcBXrQcntwu+kYFpkiVkOaezL0WYEZ3anJc=\"; pin-sha256=\"dolnbtzEBnELx/9lOEQ22e6OZO/QNb6VSSX2XHA3E7A=\"; includeSubdomains; report-uri=\"http://csp.yahoo.com/beacon/csp?src=yahoocom-hpkp-report-only\"",
        "accept-ranges": "bytes",
        "referrer-policy": "no-referrer-when-downgrade",
        "age": "0",
        "connection": "keep-alive",
        "via": "https/1.1 e15.ycpi.swb.yahoo.com (ApacheTrafficServer [cMsSf ])",
        "expect-ct": "max-age=31536000, report-uri=\"http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only\"",
        "x-xss-protection": "1; mode=block"
    }
}
Info: ReturnVal {
    response: Response {
        liked_count: 1735,
// Exactly one post exists after this
}
}```
mnymic commented 5 years ago

@KoenigKrote Not to advertise competition, I like Alex's tools better, yet TumblThree works good enough. ) it has quite an interface, you gonna need a lot of patience to comprehend the logic of teh app. But it works with usual credentials and works with blog urls you feed. So. I guess it's your chance

subnomo commented 5 years ago

@KoenigKrote Yeah, unfortunately it seems Tumblr has removed that option in their backend, so the app has no effect. Pretty sure TumblThree has the same issue too (https://github.com/johanneszab/TumblThree/issues/337). I don't know if there's a workaround :disappointed:.

justingrantca commented 5 years ago

Hey - first off thanks for the tool!

I am getting a status 403 error, and I'm not sure its related to the posted issue, but, maybe I'm just missing something...

Response { url: "https://api.tumblr.com/v2/blog/<BLOG>/likes?api_key=<API>&limit=1", status: 403, headers: { "server": "ATS", "date": "Mon, 17 Dec 2018 14:04:11 GMT", "content-type": "application/json; charset=utf-8", "x-content-type-options": "nosniff", "vary": "Accept-Encoding", "vary": "Accept-Encoding", "x-ratelimit-perday-limit": "5000", "x-ratelimit-perday-remaining": "4986", "x-ratelimit-perday-reset": "85168", "x-ratelimit-perhour-limit": "1000", "x-ratelimit-perhour-remaining": "986", "x-ratelimit-perhour-reset": "2368", "x-rid": "3iaqga1e1fb6r", "strict-transport-security": "max-age=15552000", "p3p": "CP=\"Tumblr's privacy policy is available here: https://www.tumblr.com/policy/en/privacy\"", "public-key-pins-report-only": "max-age=2592000; pin-sha256=\"2fRAUXyxl4A1/XHrKNBmc8bTkzA7y4FB/GLJuNAzCqY=\"; pin-sha256=\"I/Lt/z7ekCWanjD0Cvj5EqXls2lOaThEA0H2Bg4BT/o=\"; pin-sha256=\"Wd8xe/qfTwq3ylFNd3IpaqLHZbh2ZNCLluVzmeNkcpw=\"; pin-sha256=\"WoiWRyIOVNa9ihaBciRSC7XHjliYS9VwUGOIud4PB18=\"; pin-sha256=\"i7WTqTvh0OioIruIfFR4kMPnBqrS2rdiVPl/s2uC/CY=\"; pin-sha256=\"r/mIkG3eEpVdm+u/ko/cwxzOMo1bk4TyHIlByibiA5E=\"; pin-sha256=\"uUwZgwDOxcBXrQcntwu+kYFpkiVkOaezL0WYEZ3anJc=\"; pin-sha256=\"dolnbtzEBnELx/9lOEQ22e6OZO/QNb6VSSX2XHA3E7A=\"; includeSubdomains; report-uri=\"http://csp.yahoo.com/beacon/csp?src=yahoocom-hpkp-report-only\"", "referrer-policy": "no-referrer-when-downgrade", "age": "0", "connection": "keep-alive", "via": "https/1.1 e8.ycpi.sja.yahoo.com (ApacheTrafficServer [cMsSf ])", "expect-ct": "max-age=31536000, report-uri=\"http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only\"", "x-xss-protection": "1; mode=block" } } There was an error fetching your likes. Please make sure you provided the correct API key and blog name.

Is there something obvious I'm doing wrong, or have they broken the tool?

Thanks in advance.

subnomo commented 5 years ago

@justingrantca Are your likes set to public? See #1.

sjoerdvanloon commented 5 years ago

@justingrantca I have the same issue. And have set my likes to public. Even before creating the API Key.