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

Video about aussie siege not downloaded. #4530

Closed
franny23dmt opened this issue Dec 21, 2014 · 5 comments
Closed

Video about aussie siege not downloaded. #4530

franny23dmt opened this issue Dec 21, 2014 · 5 comments

Comments

@franny23dmt
Copy link

@franny23dmt franny23dmt commented Dec 21, 2014

interestingly no downloader will recognize this video.

OUTPUT

youtube-dl --user-agent Chrome https://www.youtube.com/watch?v=U0xK9MLLdLU
[youtube] Confirming age
[youtube] U0xK9MLLdLU: Downloading webpage
[youtube] U0xK9MLLdLU: Downloading video info webpage
[youtube] U0xK9MLLdLU: Extracting video information
WARNING: unable to extract uploader nickname
WARNING: unable to extract categories; please report this issue on http://yt-dl.org/bug
Traceback (most recent 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/local/bin/youtube-dl/main.py", line 18, in
File "/usr/local/bin/youtube-dl/youtube_dl/init.py", line 351, in main
File "/usr/local/bin/youtube-dl/youtube_dl/init.py", line 341, in _real_main
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1094, in download
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 536, in extract_info
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 199, in extract
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 958, in _real_extract
UnboundLocalError: local variable 'ytplayer_config' referenced before assignment

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Dec 21, 2014

Works fine for me, could you post the output of youtube-dl 'https://www.youtube.com/watch?v=U0xK9MLLdLU' --verbose? Can you play the video in a browser?

By the way, don't use the --user-agen, it should only be useful for debugging.

@franny23dmt
Copy link
Author

@franny23dmt franny23dmt commented Dec 22, 2014

sure thing, and thanks for advice. yes i can watch in browser, but non of the good downloaders there even recognize that a video is playing at all. (youtube-dl is by far the best i mean the popular browser plugins) are u from australia? im wondering if region has anything to do with it

QUOTE
youtube-dl https://www.youtube.com/watch?v=U0xK9MLLdLU --verbose
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['https://www.youtube.com/watch?v=U0xK9MLLdLU', '--verbose']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.11.13
[debug] Python version 2.7.6 - Linux-3.13.0-44-generic-x86_64-with-Ubuntu-14.04-trusty
[debug] exe versions: avconv 9.16-6, avprobe 9.16-6, ffmpeg 2.5, ffprobe 2.5, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] Confirming age
[youtube] U0xK9MLLdLU: Downloading webpage
[youtube] U0xK9MLLdLU: Downloading video info webpage
[youtube] U0xK9MLLdLU: Extracting video information
WARNING: unable to extract uploader nickname
WARNING: unable to extract categories; please report this issue on http://yt-dl.org/bug
Traceback (most recent 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/local/bin/youtube-dl/main.py", line 18, in
File "/usr/local/bin/youtube-dl/youtube_dl/init.py", line 351, in main
File "/usr/local/bin/youtube-dl/youtube_dl/init.py", line 341, in _real_main
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1094, in download
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 536, in extract_info
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 199, in extract
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 958, in _real_extract
UnboundLocalError: local variable 'ytplayer_config' referenced before assignment
UNQUOTE

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Dec 22, 2014

You could try using the last version of youtube-dl (see the FAQ for updating).

@phihag
Copy link
Contributor

@phihag phihag commented Dec 22, 2014

Given that it works fine for me with the latest version (2014.12.17.2 as of writing) as well, I'm closing this issue. If you can reproduce the problem with the current version of youtube-dl, please comment or open a new issue. Thanks!

@phihag phihag closed this Dec 22, 2014
@franny23dmt
Copy link
Author

@franny23dmt franny23dmt commented Dec 23, 2014

thanks, i didnt write the code it asked me to report it , i wouldnt have reported it without ur code request, i prolly would have looked for updates etc. maybe edit ur text IF this is a problem that i posted what you guys asked me to

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
3 participants
You can’t perform that action at this time.