Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
ERROR: local variable 'ytplayer_config' referenced before assignment #4169
Comments
|
Do you need the Some side notes: I'm curious if you are actually seeing a progress bar at all. The option |
|
As @clampak said, it works without the |
$ date; youtube-dl --update
Wed Nov 12 13:40:21 EST 2014
youtube-dl is up-to-date (2014.11.12.1)
$ python --version
Python 2.7.8
$ uname -a
Linux Microknoppix 3.16.3 #12 SMP PREEMPT Fri Sep 26 04:37:20 CEST 2014 i686 GNU/Linux
...
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--proxy', '', '--max-filesize', '8192m', '--user-agent', 'NokiaC6-00/10.0.021 (SymbianOS/9.4; Series60/5.0 Mozilla/5.0; Profile/MIDP-2.1 Configuration/CLDC-1.1) AppleWebkit/525 (KHTML, like Gecko) BrowserNG/7.2.6 UNTRUSTED/1.0 3gpp-gba', '--referer', 'http://www.bing.com/search?q=youtube+Chemistry+Physics', '--no-overwrites', '--ignore-errors', '--continue', '--verbose', '--no-progress', '--console-title', '--audio-format', 'best', '--max-quality', 'mp4', '--output', '/media/sdc1/yt/%(uploader)s/%(id)s.%(ext)s', '--batch-file', '/media/sdc1/prjx/youtube/yt_urls/370_Physical_pendula00_yt.urls']
[debug] Batch file urls: [u'http://www.youtube.com/watch?v=OvDePn41fPY&hd=1', u'http://www.youtube.com/watch?v=YWQxUzyyXCE&hd=1']
[debug] Encodings: locale UTF-8, fs UTF-8, out None, pref UTF-8
[debug] youtube-dl version 2014.11.12.1
[debug] Python version 2.7.8 - Linux-3.16.3-i686-with-debian-7.6
[debug] exe versions: avconv 11-6, avprobe 11-6, ffmpeg 11-6
[debug] Proxy map: {}
�[22;0t[youtube] Confirming age
[youtube] OvDePn41fPY: Downloading webpage
[youtube] OvDePn41fPY: Downloading video info webpage
[youtube] OvDePn41fPY: Extracting video information
WARNING: unable to extract uploader nickname
WARNING: unable to extract categories; please report this issue on http://yt-dl.org/bug
ERROR: local variable 'ytplayer_config' referenced before assignment
Traceback (most recent call last):
File "/media/sdc1/yt_dl/youtube_dl/YoutubeDL.py", line 536, in extract_info
ie_result = ie.extract(url)
File "/media/sdc1/yt_dl/youtube_dl/extractor/common.py", line 199, in extract
return self._real_extract(url)
File "/media/sdc1/yt_dl/youtube_dl/extractor/youtube.py", line 958, in _real_extract
dash_manifest_url = ytplayer_config['args']['dashmpd']
UnboundLocalError: local variable 'ytplayer_config' referenced before assignment