Tuesday 15 March 2011

Youtube-dl on Linux Mint -



Youtube-dl on Linux Mint -

i installed youtube-dl on linux mint. tried download random video doesn’t work:

i asked same question on askubuntu later realized ubuntu os

>youtube-dl -f https://www.youtube.com/watch?v=yvydcwm9k0w [youtube] setting language [youtube] yvydcwm9k0w: downloading video webpage [youtube] yvydcwm9k0w: downloading video info webpage [youtube] yvydcwm9k0w: extracting video info traceback (most recent phone call last): file "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main "__main__", fname, loader, pkg_name) file "/usr/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals file "/usr/bin/youtube-dl/__main__.py", line 7, in <module> file "/usr/bin/youtube-dl/__init__.py", line 536, in main file "/usr/bin/youtube-dl/__init__.py", line 520, in _real_main file "/usr/bin/youtube-dl/filedownloader.py", line 475, in download file "/usr/bin/youtube-dl/infoextractors.py", line 80, in extract file "/usr/bin/youtube-dl/infoextractors.py", line 405, in _real_extract file "/usr/bin/youtube-dl/infoextractors.py", line 405, in <genexpr> keyerror: 'sig'

so tried update youtube-dl..but didn’t work either

>youtube-dl -u updating latest version... traceback (most recent phone call last): file "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main "__main__", fname, loader, pkg_name) file "/usr/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals file "/usr/bin/youtube-dl/__main__.py", line 7, in <module> file "/usr/bin/youtube-dl/__init__.py", line 536, in main file "/usr/bin/youtube-dl/__init__.py", line 510, in _real_main file "/usr/bin/youtube-dl/__init__.py", line 55, in updateself file "/usr/lib/python2.7/urllib2.py", line 127, in urlopen homecoming _opener.open(url, data, timeout) file "/usr/lib/python2.7/urllib2.py", line 410, in open response = meth(req, response) file "/usr/lib/python2.7/urllib2.py", line 523, in http_response 'http', request, response, code, msg, hdrs) file "/usr/lib/python2.7/urllib2.py", line 442, in error result = self._call_chain(*args) file "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain result = func(*args) file "/usr/lib/python2.7/urllib2.py", line 629, in http_error_302 homecoming self.parent.open(new, timeout=req.timeout) file "/usr/lib/python2.7/urllib2.py", line 410, in open response = meth(req, response) file "/usr/lib/python2.7/urllib2.py", line 523, in http_response 'http', request, response, code, msg, hdrs) file "/usr/lib/python2.7/urllib2.py", line 448, in error homecoming self._call_chain(*args) file "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain result = func(*args) file "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default raise httperror(req.get_full_url(), code, msg, hdrs, fp) urllib2.httperror: http error 404: not found

i'm in super user mode.. thnx

your version of youtube-dl old uses discontinued updating system. contact distribution inquire newer version or run the following:

sudo apt-get remove -y youtube-dl sudo wget https://yt-dl.org/latest/youtube-dl -o /usr/local/bin/youtube-dl sudo chmod a+x /usr/local/bin/youtube-dl hash -r

from on, you'll able update youtube-dl independently scheme typing sudo youtube-dl -u.

youtube-dl

No comments:

Post a Comment