4pr0n / ripme

Downloads albums in bulk
MIT License
916 stars 204 forks source link

Instagram: ["standard_resolution"] is not a JSONObject. #598

Closed ohhdemgirls closed 6 years ago

ohhdemgirls commented 7 years ago

Reproduce with java -jar ripme.jar -u https://www.instagram.com/laurenscolari/

[!] Error while ripping URL https://www.instagram.com/laurenscolari/
org.json.JSONException: JSONObject["standard_resolution"] is not a JSONObject.
        at org.json.JSONObject.getJSONObject(JSONObject.java:577)
        at com.rarchives.ripme.ripper.rippers.InstagramRipper.getMedia(InstagramRipper.java:128)
        at com.rarchives.ripme.ripper.rippers.InstagramRipper.getURLsFromJSON(InstagramRipper.java:154)
        at com.rarchives.ripme.ripper.AbstractJSONRipper.rip(AbstractJSONRipper.java:57)
        at com.rarchives.ripme.App.rip(App.java:59)
        at com.rarchives.ripme.App.ripURL(App.java:169)
        at com.rarchives.ripme.App.handleArguments(App.java:161)
        at com.rarchives.ripme.App.main(App.java:49)
rautamiekka commented 7 years ago

Please reopen at https://github.com/RipMeApp/ripme/issues/, mentioning it's originally this one.

varaghar commented 6 years ago

I would like to start this!

rautamiekka commented 6 years ago

For the record, I've no problems ripping this, so I think it was an error on Instagram's end, or maybe an old RipMe.

Window$ 7 Ultimate SP1 x64 Oracle Java SE 8 Update 144 x64 RipMe 1.5.7

varaghar commented 6 years ago

It does throw an exception here. I will add some checks so this won't cause any more issues.

rautamiekka commented 6 years ago

^ What're you running ? Like I just listed.

metaprime commented 6 years ago

Merged fix.