Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnboundLocalError: local variable 'ytplayer_config' referenced before assignment #4275

Closed
escitalopram opened this issue Nov 22, 2014 · 2 comments

Comments

@escitalopram
Copy link

@escitalopram escitalopram commented Nov 22, 2014

The software requested this bug to be reported:

[download] Downloading video #204 of 933
[youtube] T4XJQO3qol8: Downloading webpage
[youtube] T4XJQO3qol8: Downloading video info webpage
[youtube] T4XJQO3qol8: Extracting video information
WARNING: unable to extract uploader nickname
WARNING: unable to extract categories; please report this issue on http://yt-dl.org/bug
WARNING: video doesn't have subtitles
[youtube] T4XJQO3qol8: Searching for annotations.
Traceback (most recent call last):
  File "/usr/bin/youtube-dl", line 9, in <module>
    load_entry_point('youtube-dl==2014.11.16', 'console_scripts', 'youtube-dl')()
  File "/usr/lib/python3.4/site-packages/youtube_dl/__init__.py", line 351, in main
        _real_main(argv)
  File "/usr/lib/python3.4/site-packages/youtube_dl/__init__.py", line 341, in _real_main
    retcode = ydl.download(all_urls)
  File "/usr/lib/python3.4/site-packages/youtube_dl/YoutubeDL.py", line 1094, in download
    res = self.extract_info(url)
  File "/usr/lib/python3.4/site-packages/youtube_dl/YoutubeDL.py", line 547, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/lib/python3.4/site-packages/youtube_dl/YoutubeDL.py", line 677, in process_ie_result
   extra_info=extra)
  File "/usr/lib/python3.4/site-packages/youtube_dl/YoutubeDL.py", line 600, in process_ie_result
    extra_info=extra_info)
  File "/usr/lib/python3.4/site-packages/youtube_dl/YoutubeDL.py", line 536, in extract_info
    ie_result = ie.extract(url)
  File "/usr/lib/python3.4/site-packages/youtube_dl/extractor/common.py", line 199, in extract
    return self._real_extract(url)
  File "/usr/lib/python3.4/site-packages/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

Regards,
Wolfgang

@escitalopram
Copy link
Author

@escitalopram escitalopram commented Nov 22, 2014

Using version 2014.11.16 on Arch Linux

@phihag
Copy link
Contributor

@phihag phihag commented Nov 23, 2014

Thank you for the report! This has been fixed in youtube-dl 2014.11.23. See our FAQ if you need help updating.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.