patrickkfkan / patreon-dl

Patreon Downloader
53 stars 3 forks source link

[feature request] option to use external downloader for videos #19

Closed sideloading closed 2 months ago

sideloading commented 2 months ago

yt-dlp allows the download of enhanced bitrate without requiring/passing premium cookies from a youtube account.

having the ability to specify the downloader (optional path with the executable) would be great.

patrickkfkan commented 2 months ago

Implemented in v1.6.0:

- Add external downloader support for embedded videos

If you have yt-dlp installed and in your PATH, you can just add the following lines to your config file:

[embed.downloader.youtube]
exec = yt-dlp -o "{dest.dir}/%(title)s.%(ext)s" "{embed.url}"

patreon-dl should now use yt-dlp instead of its built-in downloader for embedded YouTube vids.

Please help test it.

Embedded Vimeo also supported too, although somewhat experimental. Refer to the example config.