ripme icon indicating copy to clipboard operation
ripme copied to clipboard

Tumblr ripper doesn't work but the HTTP link it uses does

Open EricBorges2019 opened this issue 4 years ago • 3 comments

  • Ripme version: 1.7.95

  • Java version: java version "12" 2019-03-19

  • Java(TM) SE Runtime Environment (build 12+33)

  • Operating system: macOS Big Sur 11.6.1

  • Exact URL you were trying to rip when the problem occurred:

  • lyssafreyguy.tumblr.com/post/187741823636/im-actually-so-sad-that-no-one-uploaded-this-clip

Downloading https://api.tumblr.com/v2/blog/lyssafreyguy.tumblr.com/posts?id=187741823636&api_key=API_KEY_HERE

Replaced my actual API key with API_KEY_HERE but the API key I placed in rip.properties does actually work.

Rip complete, saved to /Users/USERNAME/Documents/Rips/lyssafreyguy.tumblr.com_post_187741823636
null

doesn't work with any tumblr url I put in, this was just the latest one I tried

  • Please include any additional information about how to reproduce the problem:

Expected Behavior

Detail the expected behavior here.

Rips tumblr blog/pages

Actual Behavior

Detail the actual (incorrect) behavior here. You can post log snippets or attach log files to your issue report.

Doesn't rip, just says it's done ripping and prints 'null'. Strange part is that the url returned in logs does actually work and shows a valid API response with status 200, but for some reason ripme doesn't wanna rip. Parsing error or something? Something to do with one should should set up API key in Tumblr?

EricBorges2019 avatar Feb 01 '22 04:02 EricBorges2019

I am also experiencing this on Windows and would like to add that I can observe it create a folder in the destination directory for the tumblr page and then immediately delete it

shinyben avatar Feb 02 '22 04:02 shinyben

Strange, it doesn't delete on my computer. It just creates/appends a log file within that folder.

EricBorges2019 avatar Feb 02 '22 05:02 EricBorges2019

You can use the api-http2.tumblr.com host instead, and the video will download:

PS C:\> tumblr -a https://lyssafreyguy.tumblr.com/post/187741823636
GET https://api-http2.tumblr.com/v2/blog/lyssafreyguy/posts/187741823636/permalink
GET https://va.media.tumblr.com/tumblr_pxw935uiWw1r3c91u.mp4
21.6%   4.149 MB        8.236 MB/s

https://github.com/89z/mech/blob/v1.46.9/tumblr/tumblr.go#L80-L92

89z avatar Feb 12 '22 04:02 89z