git ssb

0+

cel / dillo-ytdl



Tree: 58a3d11c862df8cdb00f077e91d0303ba78618a3

Files: 58a3d11c862df8cdb00f077e91d0303ba78618a3 / README.md

1115 bytesRaw

dillo-ydl

youtube-dl plugin for Dillo.

It lets you visit URLs of the form "ydl:<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-ydl
cd dillo-ydl
pip install -r requirements.txt # or sudo apt-get install youtube-dl
mkdir -p ~/.dillo/dpi/ydl
cp ydl.dpi ~/.dillo/dpi/ydl/ # or ln -rs ydl.dpi ~/.dillo/dpi/ydl/
test -f ~/.dillo/dpidrc || cp /etc/dillo/dpidrc ~/.dillo/dpidrc
echo 'proto.ydl=ydl/ydl.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