Closed LEARJS closed 9 months ago
I would like to add that something similar is happening with Imgur nsfw posts. From what I noticed BDFR try to download from Imgur webpage link like this imgur.com/xxxxxx
which often return 404 for nsfw since the purge, but if I were to access the same image through a direct link like this i.imgur.com/xxxxxx.mp4
then it's fully available to view and download. Most of the 404s I got where fully accessible when viewed the direct link to the image/video.
Thanks, looks like we need to update the module.
Do you have ffmpeg installed and working well otherwise?
Do you have ffmpeg installed and working well otherwise?
Yes, it has been working correctly for months until this happened. This is only happening with Reddit videos, other sources don't face the same problem so ffmpeg isn't the issue here.
Any updates to mitigate the issue? It's been difficult since most of reddit moved to v.redd.it instead of gfycat/imgur.
Hi, I need the updated log with the relevant errors.
Here's another attempt I just tried right now. I double checked my ffmpeg files. I tried a clean install as well. The used command:
python.exe -m bdfr download F --link https://www.reddit.com/r/Damnthatsinteresting/comments/19acs81/who_knew_curling_sports_was_that_intense/ --config %LOCALAPPDATA%\bdfr\bdfr\default_config.cfg
The response:
[2024-01-19 04:21:53,853 - bdfr.downloader - ERROR] - Failed to download resource https://v.redd.it/4b87xjfsdcdc1 in submission 19acs81 with downloader VReddit: Youtube download failed: ERROR: You have requested merging of multiple formats but ffmpeg is not installed. Aborting due to --abort-on-error
The logs:
[2024-01-19 04:21:46,607 - bdfr.connector - DEBUG] - Setting maximum download wait time to 120 seconds
[2024-01-19 04:21:46,608 - bdfr.connector - DEBUG] - Setting datetime format string to ISO
[2024-01-19 04:21:46,609 - bdfr.connector - DEBUG] - Disabling the following modules:
[2024-01-19 04:21:46,609 - bdfr.connector - Level 9] - Created download filter
[2024-01-19 04:21:46,610 - bdfr.connector - Level 9] - Created time filter
[2024-01-19 04:21:46,610 - bdfr.connector - Level 9] - Created sort filter
[2024-01-19 04:21:46,610 - bdfr.connector - Level 9] - Create file name formatter
[2024-01-19 04:21:46,610 - bdfr.connector - DEBUG] - Using unauthenticated Reddit instance
[2024-01-19 04:21:46,612 - bdfr.connector - Level 9] - Created site authenticator
[2024-01-19 04:21:46,612 - bdfr.connector - Level 9] - Retrieved subreddits
[2024-01-19 04:21:46,612 - bdfr.connector - Level 9] - Retrieved multireddits
[2024-01-19 04:21:46,612 - bdfr.connector - Level 9] - Retrieved user data
[2024-01-19 04:21:46,612 - bdfr.connector - Level 9] - Retrieved submissions for given links
[2024-01-19 04:21:49,053 - bdfr.downloader - DEBUG] - Attempting to download submission 19acs81
[2024-01-19 04:21:49,056 - bdfr.downloader - DEBUG] - Using VReddit with url https://v.redd.it/4b87xjfsdcdc1
[2024-01-19 04:21:53,853 - bdfr.downloader - ERROR] - Failed to download resource https://v.redd.it/4b87xjfsdcdc1 in submission 19acs81 with downloader VReddit: Youtube download failed: [0;31mERROR:[0m You have requested merging of multiple formats but ffmpeg is not installed. Aborting due to --abort-on-error
[2024-01-19 04:21:53,854 - root - INFO] - Program complete
To be clear, you've installed ffmpeg from the website separately to the python bindings? You can call both?
Yes I can call ffmpeg. However, I think I solved the problem. I double checked PATH in system environment variables and it was directed correctly to the BDFR folder where I had put ffmpeg, I even re-applied the directory path to \bin folder to be sure but nothing changed. Then I thought about moving ffmpeg outside of BDFR folder and just throw them in C:\ffmpeg\bin then changed PATH to that and that somehow solved the problem! It's strange because the previous set up worked flawlessly until it stopped suddenly. So yeah I will mark this as solved.
Description
Whenever I try to download a submission containing v.redd.it source I get the same following error:
Failed to download resource https://v.redd.it/k7eckq67sbwb1 in submission 17g1mi8 with downloader VReddit: Youtube download failed: ERROR: You have requested merging of multiple formats but ffmpeg is not installed. Aborting due to --abort-on-error
It used to work just fine a few days ago but I tried today and it's rejecting all v.redd.it posts.
Command
Environment (please complete the following information)
Logs