rclone / rclone

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
https://rclone.org
MIT License
46.02k stars 4.12k forks source link

yt-dlp and gallery-dl support #6622

Open upintheairsheep opened 1 year ago

upintheairsheep commented 1 year ago

The associated forum post URL from https://forum.rclone.org

What is your current rclone version (output from rclone version)?

v1.60.1

What problem are you are trying to solve?

RClone currently cannot grab online video, audio, and image sites, and implementing each site individually would take too much work.

How do you think rclone should be changed to solve that?

RClone should support mounting channels/playlists and video/audio via yt-dlp (and possibly galleries and images from gallery-dl) in the main format provided, only downloading/accessing the data when the system requests the file. yt-dlp and gallery-dl have pretty robust APIs. Folder organization (via channel, date, site, etc) would be a charm as well

yt-dlp -j --no-warnings -i --playlist-reverse --flat-playlist "(insert the url here)"| jq -r ".urls" prints the urls from a playlist yt-dlp (video url) -O title prints the title yt-dlp (video url) -O description prints the description yt-dlp (url) -j prints a JSON object with all the metadata provided yt-dlp (url) -o url prints the raw URL of the video

gallery-dl --get-urls (url) prints raw image urls

How to use GitHub

Animosity022 commented 1 year ago

There is a ton of new backend requests out there so unless you want to submit a PR, it'll really just sit and collect dust.