OS/2, eCS & ArcaOS - Technical > Web applications

clipgrab

<< < (5/5)

Dave Yeo:
Great, Python3 works much better then Python2 for youtube-dl, no patching to avoid the CTYPES error needed, much faster.
The script can be downloaded at https://youtube-dl.org/, if you get the complete tar.gz, just extract the youtube-dl binary from the top folder of the package and run it. Generally the URL may need quoting with double quotes.

Dave Yeo:

--- Quote from: Dariusz Piatkowski on March 21, 2021, 01:13:43 am ---Hi Dave,


--- Quote from: Dave Yeo on March 20, 2021, 05:43:45 pm ---..It's the whole subdirectory that needs to be run, not an individual file. As I said, it is unpackaged and packaging should create a binary script holding the subdirectory and documentation...
--- End quote ---

Yup, I got it now...works great here!

So is this update something that's meant to be run from within clipgrab? Sorry, it may be obvious to those who have done it, I haven't run clipgrab in a while so before I go off installing it I figured I better ask first.

Thanks!

--- End quote ---

Actually it is the recommended way to download videos with clipgrab being a frontend. See https://youtube-dl.org/ and in particular the Documentation link to get an idea of its power.
Basically running python3 youtube-dl "URL" will download the video referenced in the URL and use FFmpeg to assemble the video and audio into a container that'll play in vlc, mplayer etc. Being Canadian, you can also legally use it to download music, without the video, from YouTube.
Note that the URL should generally be quoted with double quotes to work around shell characters such as ? or &

edit, simple way to get the script/binary,

--- Code: ---wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl

--- End code ---
Adjust the path as needed after the -O

Navigation

[0] Message Index

[*] Previous page

Go to full version