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.
Frequent warning or error message : unable to extract html5 player and Unable to extract JS player URL #2858
Comments
|
I am using youtube-dl on Mac Os X (maverics) . |
|
You are probably getting the mobile version of the site, we haven't tested with it (we only use the standard User-Agent). |
|
First of all, don't run youtube-dl as root, i.e. do not use sudo, unless you are updating it. Secondly, you can fix your problem by simply removing the |
|
Is it possible to get stream name using youtube-dl , which is getting used when we play youtube video on a android device/Chrome browser? |
|
|
|
@krantisit1321 you won't get an error if you simply use I recommend closing this issue. |
|
Served formats with an Android User-Agent are the same as those with a desktop browser User-Agent. There's no need to support both, so closing. |
My usecase is to download a stream which is playable on a device and browser combo where User agent string represents . Is it the right way to do that ?
Let me know if I am missing any thing here.Here is log for my command
kranti(~) $ sudo /usr/local/bin/youtube-dl --user-agent 'Mozilla/5.0 (Linux; U; Android 2.2; en-us; Nexus One Build/FRF91) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1' --verbose http://www.youtube.com/watch?v=bCloJm9gptM
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--user-agent', 'Mozilla/5.0 (Linux; U; Android 2.2; en-us; Nexus One Build/FRF91) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1', '--verbose', 'http://www.youtube.com/watch?v=bCloJm9gptM']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.05.05
[debug] Python version 2.7.5 - Darwin-13.1.0-x86_64-i386-64bit
[debug] Proxy map: {}
[youtube] Setting language
[youtube] bCloJm9gptM: Downloading webpage
[youtube] bCloJm9gptM: Downloading video info webpage
[youtube] bCloJm9gptM: Extracting video information
WARNING: unable to extract uploader nickname
WARNING: unable to extract html5 player; please report this issue on http://yt-dl.org/bug
[youtube] encrypted signature length 88 (45.42), itag 22, html5 player None
ERROR: Unable to extract JS player URL; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
Traceback (most recent call last):
File "/Library/Python/2.7/site-packages/youtube_dl/extractor/youtube.py", line 1196, in _real_extract
raise ValueError('Could not find vevo ID')
ValueError: Could not find vevo ID
Traceback (most recent call last):
File "/Library/Python/2.7/site-packages/youtube_dl/YoutubeDL.py", line 516, in extract_info
ie_result = ie.extract(url)
File "/Library/Python/2.7/site-packages/youtube_dl/extractor/common.py", line 161, in extract
return self._real_extract(url)
File "/Library/Python/2.7/site-packages/youtube_dl/extractor/youtube.py", line 1274, in _real_extract
video_webpage, u'JS player URL')
File "/Library/Python/2.7/site-packages/youtube_dl/extractor/common.py", line 376, in _search_regex
raise RegexNotFoundError(u'Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract JS player URL; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
Thanks for the help