bulk-downloader-for-reddit icon indicating copy to clipboard operation
bulk-downloader-for-reddit copied to clipboard

[BUG] Redgifs not downloading from posts

Open TimidLo opened this issue 2 years ago • 5 comments

  • [X] I am reporting a bug.
  • [x] I am running the latest version of BDfR
  • [x] I have read the Opening an issue

Description

Redgifs are not downloading on posts.

Script error: bdfr.downloader - ERROR] - Site Redgifs failed to download submission s2ndy1: Server responded with 410 to https://api.redgifs.com/v2/gifs/growingtartsaltwatercrocodile

Weblink error: {"error":{"code":"MissingAuthorizationHeader","description":"authorization required to access this service","docs":"https://github.com/Redgifs/api/wiki/API-access"}}

Command

clone command

Environment (please complete the following information)

  • OS: MacOS
  • Python version: 3.10.9

Logs

[2023-01-16 14:37:32,028 - bdfr.site_downloaders.gallery - ERROR] - Could not find gallery data in submission s2ne74
[2023-01-16 14:37:32,029 - bdfr.downloader - ERROR] - Site Gallery failed to download submission s2ne74: No images found in Reddit gallery
[2023-01-16 14:37:32,040 - bdfr.archiver - INFO] - Record for entry item s2ne74 written to disk
[2023-01-16 14:37:32,368 - bdfr.downloader - ERROR] - Site Redgifs failed to download submission s2ne1s: Server responded with 410 to https://api.redgifs.com/v2/gifs/bubblyunevendiplodocus
[2023-01-16 14:37:32,594 - bdfr.archiver - INFO] - Record for entry item s2ne1s written to disk
[2023-01-16 14:37:32,935 - bdfr.downloader - ERROR] - Site Redgifs failed to download submission s2ndy1: Server responded with 410 to https://api.redgifs.com/v2/gifs/growingtartsaltwatercrocodile

TimidLo avatar Jan 16 '23 22:01 TimidLo

HTTP error 410 means the content is gone and unlikely to return. You'll get it on deleted posts from redgifs.

Soulsuck24 avatar Jan 30 '23 19:01 Soulsuck24

Ah ok, but I'm also getting these issues with Redgifs:

[2023-01-30 14:27:55,034 - bdfr.downloader - ERROR] - Could not download submission 10kc0mf: No downloader module exists for url https://v3.redgifs.com/watch/<any_video.mp4>. I know the videos exist as I can paste the link into a browser and stuff loads.

TimidLo avatar Jan 30 '23 22:01 TimidLo

~~That was recently fixed by #748 but hasn't been rolled into the release version yet.~~ Now released.

Soulsuck24 avatar Jan 31 '23 00:01 Soulsuck24

Even with the new code, redgif sites are failing Failed to download resource https://thumbs4.redgifs.com/.... I fI copy and paste the entire link into a browser, it says Bad request signature.

TimidLo avatar Jan 31 '23 23:01 TimidLo

You'll pretty much always get the "bad request signature" when you try to access a direct link.

To check a link on the site to check if it's available there use https://redgifs.com/watch/growingtartsaltwatercrocodile just change growingtartsaltwatercrocodile for the Redgifs ID you're trying to check.

If it loads through the site but you still get an error from BDFR please post that section of the log file and the Reddit ID of the post so it can be looked into.

Soulsuck24 avatar Feb 01 '23 22:02 Soulsuck24