Jump to content

youtube-dl not working on certain videos


jarpiii
 Share

Recommended Posts

jarpiii@localhost ~$ youtube-dl --list-format https://www.youtube.com/watch?v=YUiVIPgJA

YUiVIPgJA0o: Downloading webpage

YUiVIPgJA0o: Extracting video information

YUiVIPgJA0o: Downloading js player vfl19kCnd

ERROR: Signature extraction failed: Traceback (most recent call last):

File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 571, in _decrypt_signature

video_id, player_url, s

File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 485, in _extract_signature_function

res = self._parse_sig_js(code)

File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 546, in _parse_sig_js

'Initial JS player signature function name')

File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 484, in _search_regex

raise RegexNotFoundError('Unable to extract %s' % _name)

RegexNotFoundError: Unable to extract Initial JS player signature function name; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

(caused by RegexNotFoundError(u'Unable to extract \x1b[0;34mInitial JS player signature function name\x1b[0m; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Link to comment
Share on other sites

please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

(caused by RegexNotFoundError(u'Unable to extract \x1b[0;34mInitial JS player signature function name\x1b[0m; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

QFE

Link to comment
Share on other sites

I did update my youtube-dl and have reported it to them I was thinking someone on the forum might have another solution while I wait for them to respond.

Searching for a solution in more than one place at a time will increase the chances of finding a solution.

Link to comment
Share on other sites

Fair enough, even though you didn't bother to even inform us of that little piece of information.
Looking at the error it would appear that the website in question got an update and they need to modify the code to account for this. Not a heck of a lot I suspect people here can do about that... Or anywhere else for that matter.

I hope that when you reported the issue with the developers you did heed this little nugget of information (since you didn't here):

Be sure to call youtube-dl with the --verbose flag and include its complete output.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...