Serene-Arc / bulk-downloader-for-reddit

Downloads and archives content from reddit
https://pypi.org/project/bdfr
GNU General Public License v3.0
2.3k stars 211 forks source link

[FEATURE] Vidble downloader #515

Closed Soulsuck24 closed 3 years ago

Soulsuck24 commented 3 years ago

Description

Currently when the downloader reaches a vidble link it falls back to youtube-dl but is not supported there so receive errors such as: bdfr.downloader - DEBUG] - Attempting to download submission oss5g5 bdfr.site_downloaders.fallback_downloaders.youtubedl_fallback - ERROR] - ERROR: Unsupported URL: http://vidble.com/show/RDFbznUvcN bdfr.downloader - ERROR] - Could not download submission oss5g5: No downloader module exists for url https://vidble.com/show/RDFbznUvcN Not sure if the imgur downloader could be used as a starting place but it would be great to get this site with a downloader as it seems to be a reasonably popular alternative to imgur.

One oddity that may cause issues for creating a downloader I've noticed though is most images (single or gallery, but not all) have "_med" appended to the filename. removing it does give the full res image but it seems to only be images that it happens with. Not sure how difficult it would be to remove that on the fly, if it's there, to get the higher quality image. I've added some reddit links and a direct link for examples.

NSFW links https://reddit.com/oss5g5 (single image) https://reddit.com/i7z972 (gif) https://reddit.com/69xvit (gallery) https://reddit.com/lggg8j (mp4) https://reddit.com/8yuhm0 (single full image) https://www.vidble.com/show/P0R17ma4EY (single image)

Serene-Arc commented 3 years ago

Thanks I'll look into it