-
Notifications
You must be signed in to change notification settings - Fork 655
Open
Description
This is probably already documented given the log message about 401 errors, but very very few RedGIFs get downloaded. It seems to have gotten worse though since last time I used it. It downloads maybe 20-30 before quitting and log messages show below for all RedGIFs the Reddit ripper finds.
I can get some more downloaded by restarting the app to refresh the auth token, but maybe something more can be done to resolve this. The majority of RedGIFs linked on a subreddit are skipped because of this, especially if ripping a list of subreddits which guarantees that for subreddits further down the list.
java.io.IOException: Failed to load https://api.redgifs.com/v2/gifs/hugeloudrattail: Status Code 401. You might be able to circumvent this error by setting cookies for this domain
at com.rarchives.ripme.utils.Http.response(Http.java:218) ~[ripme.jar:2.1.20-14-5a3070e4]
at com.rarchives.ripme.utils.Http.getJSON(Http.java:189) ~[ripme.jar:2.1.20-14-5a3070e4]
at com.rarchives.ripme.ripper.rippers.RedgifsRipper.getVideoURL(RedgifsRipper.java:288) ~[ripme.jar:2.1.20-14-5a3070e4]
at com.rarchives.ripme.utils.RipUtils.getFilesFromURL(RipUtils.java:58) ~[ripme.jar:2.1.20-14-5a3070e4]
at com.rarchives.ripme.ripper.rippers.RedditRipper.handleURL(RedditRipper.java:428) ~[ripme.jar:2.1.20-14-5a3070e4]
at com.rarchives.ripme.ripper.rippers.RedditRipper.parseJsonChild(RedditRipper.java:246) ~[ripme.jar:2.1.20-14-5a3070e4]
at com.rarchives.ripme.ripper.rippers.RedditRipper.getAndParseAndReturnNext(RedditRipper.java:138) ~[ripme.jar:2.1.20-14-5a3070e4]
at com.rarchives.ripme.ripper.rippers.RedditRipper.rip(RedditRipper.java:109) ~[ripme.jar:2.1.20-14-5a3070e4]
at com.rarchives.ripme.ripper.AbstractRipper.run(AbstractRipper.java:671) ~[ripme.jar:2.1.20-14-5a3070e4]
at java.lang.Thread.run(Thread.java:1575) [?:?]
Caused by: org.jsoup.HttpStatusException: HTTP error fetching URL. Status=401, URL=[https://api.redgifs.com/v2/gifs/hugeloudrattail]
at org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:912) ~[ripme.jar:2.1.20-14-5a3070e4]
at org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:851) ~[ripme.jar:2.1.20-14-5a3070e4]
at org.jsoup.helper.HttpConnection.execute(HttpConnection.java:345) ~[ripme.jar:2.1.20-14-5a3070e4]
at com.rarchives.ripme.utils.Http.response(Http.java:205) ~[ripme.jar:2.1.20-14-5a3070e4]
... 9 more
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels