Re: a quick Q: iceweasle add on
- From: lina <lina.lastname@xxxxxxxxx>
- Date: Sat, 24 Sep 2011 13:18:56 +0800
On Sat, Sep 24, 2011 at 5:42 AM, Bob Proulx <bob@xxxxxxxxxx> wrote:
lina wrote:
Gilbert Sullivan wrote:package.
You could just use apt-get or aptitude to install the youtube-dl
To use it you can just issue a command like
$ youtube-dl <address of YouTube video you want to download>
That will put the video in your home directory.
I use youtube-dl all of the time. Works great. But as the youtube
site changes you need to keep the script updated. Since it is just a
script usually the latest one from Sid can be used on the old Stable
with no trouble. Works for me.
$ youtube-dl http://www.youtube.com/watch?v=dREKkAk628I&feature=related
[1] 18854
You almost always need to quote the URL. See that "&" in it? That
ampersand is special to the shell. It says to run the commandin the
background. URLs often have those. Therefore you often need to quote
the URL when used as a command line option argument.
Thanks.
$ youtube-dl "http://www.youtube.com/watch?v=dREKkAk628I&feature=related"
[youtube] Setting language
[youtube] dREKkAk628I: Downloading video webpage
[youtube] dREKkAk628I: Downloading video info webpage
[youtube] dREKkAk628I: Extracting video information
Traceback (most recent call last):
File "/usr/bin/youtube-dl", line 2987, in <module>
retcode = fd.download(all_urls)
File "/usr/bin/youtube-dl", line 604, in download
ie.extract(url)
File "/usr/bin/youtube-dl", line 844, in extract
return self._real_extract(url)
File "/usr/bin/youtube-dl", line 1135, in _real_extract
'player_url': player_url,
File "/usr/bin/youtube-dl", line 571, in process_info
success = self._do_download(filename, info_dict['url'].encode('utf-8'),
info_dict.get('player_url', None))
File "/usr/bin/youtube-dl", line 775, in _do_download
stream.close()
AttributeError: 'NoneType' object has no attribute 'close'
p$ youtube-dl 'http://www.youtube.com/watch?v=dREKkAk628I&feature=related'
[youtube] Setting language
[youtube] dREKkAk628I: Downloading video webpage
[youtube] dREKkAk628I: Downloading video info webpage
[youtube] dREKkAk628I: Extracting video information
Traceback (most recent call last):
File "/usr/bin/youtube-dl", line 2987, in <module>
retcode = fd.download(all_urls)
File "/usr/bin/youtube-dl", line 604, in download
ie.extract(url)
File "/usr/bin/youtube-dl", line 844, in extract
return self._real_extract(url)
File "/usr/bin/youtube-dl", line 1135, in _real_extract
'player_url': player_url,
File "/usr/bin/youtube-dl", line 571, in process_info
success = self._do_download(filename, info_dict['url'].encode('utf-8'),
info_dict.get('player_url', None))
File "/usr/bin/youtube-dl", line 775, in _do_download
stream.close()
AttributeError: 'NoneType' object has no attribute 'close'
is my laptop lack something? some module?
I tried the 'URL' and "URL"
Thanks,
Bob
--
Best Regards,
lina
- Follow-Ups:
- Re: a quick Q: iceweasle add on
- From: Umarzuki Mochlis
- Re: a quick Q: iceweasle add on
- References:
- a quick Q: iceweasle add on
- From: lina
- Re: a quick Q: iceweasle add on
- From: Gilbert Sullivan
- Re: a quick Q: iceweasle add on
- From: lina
- Re: a quick Q: iceweasle add on
- From: Bob Proulx
- a quick Q: iceweasle add on
- Prev by Date: Re: Partitions recovering on empty HDD.
- Next by Date: Re: regards the /
- Previous by thread: Re: a quick Q: iceweasle add on
- Next by thread: Re: a quick Q: iceweasle add on
- Index(es):
Relevant Pages
|