ripme icon indicating copy to clipboard operation
ripme copied to clipboard

Tumblr: Support downloading a link to a single post (perhaps helpful for reddit rips)

Open acceleracer opened this issue 8 years ago • 10 comments

  • Ripme version: 1.5.1
  • Java version (output of java -version): 1.8.0_91
  • Operating system: MacOS 10.12.5
  • Exact URL you were trying to rip when the problem occurred: http://ask-human-octavia.tumblr.com/post/152562762965/my-roommate-is-a-vampire-jerk-i-sometimes-forget
  • Please include any additional information about how to reproduce the problem:

Expected Behavior

Expected software to download all 3 pictures.

Actual Behavior

It looks like the download is starting and then it stops with the message: Error:null

Log: Downloading http://api.tumblr.com/v2/blog/ask-human-octavia.tumblr.com/posts?id=159080635200&api_key=JFNLu3CbINQjRdUvZibXW9VpSEVYYtiPJ86o8YmvgLZIoKyuNX Rip complete, saved to /Users/user/Desktop/RipMe/rips/tumblr_ask-human-octavia.tumblr.com_post_159080635200 null

acceleracer avatar Jun 25 '17 01:06 acceleracer

I can't repo this

Tried on Ubuntu 16.04 using openJDK 1.8.0_131

cyian-1756 avatar Jun 25 '17 09:06 cyian-1756

@acceleracer Why are you on an old Java ?

rautamiekka avatar Jun 25 '17 12:06 rautamiekka

@rautamiekka windows 10, java version "1.8.0_131" - same problem

Norithiel avatar Jun 29 '17 05:06 Norithiel

Can confirm. I have the same problem. Ripme v1.5.2 Java: 1.8.0_131 Windows 10

lostes avatar Jul 06 '17 11:07 lostes

Expected Behavior

Expected software to download all 3 pictures.

Wait, you're trying just this single post?

Not sure, normally Ripme is used like this <user>.tumblr.com, i.e. the whole tumblr log.

Did it ever work on a single post? Wasn't really taken into consideration, I think, because if all you want is some images from a single post, you can download them manually.

Hrxn avatar Jul 06 '17 11:07 Hrxn

Problem was with api-key. It worked after its updating.

Norithiel avatar Aug 03 '17 14:08 Norithiel

Please do this!!

ohhdemgirls avatar Aug 24 '17 19:08 ohhdemgirls

Error while loading http://api.tumblr.com/v2/blog/ask-human-octavia.tumblr.com/posts?id=152562762965&api_key=JFNLu3CbINQjRdUvZibXW9VpSEVYYtiPJ86o8YmvgLZIoKyuNX org.jsoup.HttpStatusException: HTTP error fetching URL. Status=429, URL=http://api.tumblr.com/v2/blog/ask-human-octavia.tumblr.com/posts?id=152562762965&api_key=JFNLu3CbINQjRdUvZibXW9VpSEVYYtiPJ86o8YmvgLZIoKyuNX at org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:459) at org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:434) at org.jsoup.helper.HttpConnection.execute(HttpConnection.java:181) at com.rarchives.ripme.utils.Http.response(Http.java:130) at com.rarchives.ripme.utils.Http.getJSON(Http.java:120) at com.rarchives.ripme.ripper.rippers.TumblrRipper.rip(TumblrRipper.java:122) at com.rarchives.ripme.ripper.AbstractRipper.run(AbstractRipper.java:353) at java.lang.Thread.run(Thread.java:745) Got exception while running ripper: java.lang.NullPointerException at com.rarchives.ripme.ripper.rippers.TumblrRipper.handleJSON(TumblrRipper.java:182) at com.rarchives.ripme.ripper.rippers.TumblrRipper.rip(TumblrRipper.java:159) at com.rarchives.ripme.ripper.AbstractRipper.run(AbstractRipper.java:353) at java.lang.Thread.run(Thread.java:745) Waiting for threads to finish Rip completed!

Getting 429(API limit reached) in logs.

Gauravwdh avatar Sep 11 '17 14:09 Gauravwdh

I get the same issues. I get a HTTP 429 back.

{"meta":{"status":429,"msg":"Limit Exceeded"},"response":[],"errors":[{"title":"Limit Exceeded","detail":"It did not work"}]}

I think the solution is to allow the user to provide their own API key.

Cheers, Indy

indy-singh avatar Nov 16 '17 00:11 indy-singh

You can set your own API key within rip.properties

Hrxn avatar Nov 16 '17 03:11 Hrxn