git ssb

0+

cel / dillo-ytdl



Tree: 498e3731c8cc2a4d9c000c5050c68465560ed39d

Files: 498e3731c8cc2a4d9c000c5050c68465560ed39d / README.md

1127 bytesRaw

dillo-ytdl

youtube-dl plugin for Dillo.

It lets you visit URLs of the form "ytdl:<url>" where <url> is the URL or video ID you would pass to youtube-dl, and you will get a page showing some info about the video, including a table of formats (as you would get from youtube-dl -F) with a link to download each one.

Install

git clone ssb://%oEzgqM849P03lR3tR7qwbjzw/c+R+v0oIoHyDgEDrbw=.sha256 dillo-ytdl
cd dillo-ytdl
pip install -r requirements.txt # or sudo apt-get install youtube-dl
mkdir -p ~/.dillo/dpi/ytdl
cp ytdl.dpi ~/.dillo/dpi/ytdl/ # or ln -rs ytdl.dpi ~/.dillo/dpi/ytdl/
test -f ~/.dillo/dpidrc || cp /etc/dillo/dpidrc ~/.dillo/dpidrc
echo 'proto.ytdl=ytdl/ytdl.dpi' >> ~/.dillo/dpidrc
dpidc stop

License

© 2018 cel @f/6sQ6d...

Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty.

Built with git-ssb-web