Re: a quick Q: iceweasle add on



On Sat, Sep 24, 2011 at 5:42 AM, Bob Proulx <bob@xxxxxxxxxx> wrote:

lina wrote:
Gilbert Sullivan wrote:
You could just use apt-get or aptitude to install the youtube-dl
package.
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


Relevant Pages

  • Re: with nothing better to do
    ... downloading from a server that is not overloaded. ... and even longer for the second video. ... The flash YouTube videos use flv/swf with the flv flash ...
    (alt.html)
  • Re: Published movies will not play in powerpoint
    ... When I originally downloaded these files from youtube I knew nothing at all ... the correct proceedure of downloading a video from youtube, ... turns out that Prism doesn't really save the video, ... Using Movie Maker in XP when I edited a video I could never save the ...
    (microsoft.public.windowsxp.moviemaker)
  • Re: OT - YouTube and Copyright
    ... YouTube has certain ... Artists have always been starving. ... entertainment industry do so without being paid a living wage? ... Music videos, such as the ones you might find on music video channels ...
    (alt.support.diabetes)
  • Re: OT - YouTube and Copyright
    ... YouTube has certain ... For those of us in the entertainment community it is literally ... they post a link to a copyrighted clip on YouTube that was posted ... Music videos, such as the ones you might find on music video channels ...
    (alt.support.diabetes)
  • The Streisand Effect
    ... T-shirts and immortalizing them in a song that's been played on YouTube more than ... In Pictures: The Streisand Effect ... YouTube obediently pulled the clip, ... could effectively remove the video. ...
    (rec.arts.marching.drumcorps)