Skip to content
This repository has been archived by the owner on Mar 9, 2021. It is now read-only.

The old raw link is broken #168

Closed
maxdesu opened this issue Nov 13, 2017 · 10 comments
Closed

The old raw link is broken #168

maxdesu opened this issue Nov 13, 2017 · 10 comments
Assignees

Comments

@maxdesu
Copy link

maxdesu commented Nov 13, 2017

I used the TumblThree v1.0.8.29 and when I downloaded It still download 1080 only It doesn't download raw image. So I think they changed to the new raw link again and I found code from Userscript that redirect to

s3.amazonaws.com/data.tumblr.com/xxxxxxxxxxxxxxxxxxxxxx/tumblr_xxxxxxxxxxxxxxxx_raw.jpg

From the #158 It's good information but i think you should add more code for download raw images

I think this information is helpful for you :)

@johanneszab
Copy link
Owner

Interesting. I've just randomly tried the data.tumblr.com and also your suggestion, both worked. At least the SSL certificate issue about a wrong common name would be gone if we switch to the amazon s3 host.

Do you have any example by hand where the data.tumblr.com url in fact doesn't work?

Thanks for the information!

@maxdesu
Copy link
Author

maxdesu commented Nov 13, 2017

Can you explain the question? I don't clearly understand that.

@johanneszab
Copy link
Owner

I'm just interested in an example where only the https://s3.amazonaws.com/data.tumblr.com/ url/host works but not the previously used https://data.tumblr.com/ anymore.

But I'll check some for myself, maybe I can find one.

@johanneszab johanneszab self-assigned this Nov 13, 2017
@maxdesu
Copy link
Author

maxdesu commented Nov 13, 2017

it just change no.media.tumblr.com only

#Ex.
The general link image is

https://78.media.tumblr.com/226bcb398bfa70085190d7893192090a/tumblr_oyt5h1D0op1qa5045o2_1280.jpg

Right? And I changed after https and before end .com like this (by don't use userscript 'cause tried on smartphone)

https://s3.amazonaws.com/data.tumblr.com/226bcb398bfa70085190d7893192090a/tumblr_oyt5h1D0op1qa5045o2_raw.jpg

Note: If use amazonaws, it used raw size only and below 1280 to smallest it can't use in this mode.

I thinks it would help you somethings

@GabrielSerealia
Copy link

I noticed the same issue when I used to manually try to access raw tumblr images. Does the latest version have a work around for this issue?

@johanneszab
Copy link
Owner

johanneszab commented Jan 20, 2018

I noticed the same issue when I used to manually try to access raw tumblr images.

If you noticed it, where is the example url I've asked for?

As I've said earlier, I think it's the exact same file, just accessible by a different host/dns. Thus, for my testing of ~50 urls, either both urls (data.tumblr.com and s3.amazonaws.com/data.tumblr.com/) worked or none of them. That's why I've asked for an example file that is accessible only by using the amazonaws.com host but not by the data.tumblr.com. Unless someone shows me that this is in fact the case, it makes no sense to change TumblThree to use the amazonaws.com host because it currently downloads _raw photo files just fine.

Edit: Just to make this clear, TumblThree already uses the data.tumblr.com host for accessing _raw tumblr photo files, not the media.tumblr.com since October 13, 2017.

@GabrielSerealia
Copy link

GabrielSerealia commented Jan 20, 2018

It appears https://data.tumblr.com is using an invalid cert since its registered to s3.amazonaws.com by my AV? I had to make a manual exception for HTTPS but HTTP appears to work fine.

HTTPS:
https://i.serealia.ca/2018/01/Cf4QGCv_2018-01-20_08-20-25.png

HTTP:
https://i.serealia.ca/2018/01/3Ls2Yd6_2018-01-20_08-22-42.png

I also apologise, I made that last comment before going to bed.

@johanneszab
Copy link
Owner

And you are telling me this now, because..?

@GabrielSerealia
Copy link

I just woke up, and took the time into looking the issue on my computer before going to work?
This Tampermonkey script uses a similar work around: https://greasyfork.org/scripts/31873-use-tumblr-raw-image/code/Use%20Tumblr%20Raw%20Image.user.js. I have to leave for work now, not sure if I've actually helped at all but thanks again for making this program. It's made my life so much easier!

@GabrielSerealia
Copy link

Even after removing the AV it appears to still have an invalid SSL cert. https://i.serealia.ca/2018/01/chrome_mVbar2j_2018-01-23_00-29-00.png

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

No branches or pull requests

3 participants