Download YouTube videos with Python and youtube-dl

Audio editors, music players, video players, burning software, etc.
Post Reply
Message
Author
vanchutr
Posts: 438
Joined: Sat 05 Aug 2006, 12:04

Download YouTube videos with Python and youtube-dl

#1 Post by vanchutr »

If someone like to download Youtube?
1. Load python -2.5 (or newer) (python-2.5min.sfs can be downloaded at: https://docs.google.comopen?id=0Bx0YXB6 ... M05GcUxLbG)
2. From console run youtube-dl:
# youtube-dl `url-of-youtube-file'

(remove .zip extension') of youtube-dl.zip)

**youtube-dl was tested in puppysqueeze_5.X.3.4.10
Attachments
youtube-dl.zip
(156.1 KiB) Downloaded 622 times

User avatar
darkcity
Posts: 2534
Joined: Sun 23 May 2010, 19:16
Location: near here
Contact:

#2 Post by darkcity »

added link to this topic on Wiki
http://puppylinux.org/wikka/youtubedl

User avatar
8-bit
Posts: 3406
Joined: Wed 04 Apr 2007, 03:37
Location: Oregon

#3 Post by 8-bit »

I tried to use the youtube downloader, the GUI one, to download a free movie from Youtube.
I got a window that asked for file type for the download with no choices offered.
The text in the windows said to make a selection of file type or press return to abort.
So am I missing something here?
Also, is your downloader a command line type or GUI type?
And in your example, how does one specify the destination on the command line?

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#4 Post by pemasu »

Here is a small commandline youtube downloader:
http://www.murga-linux.com/puppy/viewto ... 269#656269

vanchutr
Posts: 438
Joined: Sat 05 Aug 2006, 12:04

#5 Post by vanchutr »

Thank pmasu. Movgrab is great

vanchutr
Posts: 438
Joined: Sat 05 Aug 2006, 12:04

update youtube-dl

#6 Post by vanchutr »

youtube-dl updated! and python3.3 (new and compiled in puppy_squeeze)
You can download from https://docs.google.com/folder/d/0Bx0YX ... sp=sharing

youtube-dl script works with python2.6 and newer python (e.g python3.3)
Please test, TK

Post Reply