question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[YouTube] Unable to extract JS player URL

See original GitHub issue

Checklist

  • [x ] I’m reporting a broken site support issue
  • [x ] I’ve verified that I’m running youtube-dlc version 2020.10.24
  • [x ] I’ve checked that all provided URLs are alive and playable in a browser
  • [x ] I’ve checked that all URLs and arguments with special characters are properly quoted or escaped
  • [x ] I’ve searched the bugtracker for similar bug reports including closed ones
  • [x ] I’ve read bugs section in FAQ

Verbose log

[Download] Debug: [youtube] dX3k_QDnzHE: Downloading webpage
[Download] Debug: [youtube] dX3k_QDnzHE: Downloading embed webpage
[Download] Error: ERROR: Unable to extract JS player URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dlc with the --verbose flag and include its complete output.
[Download] Error: Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/youtube_dlc/YoutubeDL.py", line 830, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/lib/python3.6/dist-packages/youtube_dlc/extractor/common.py", line 532, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/lib/python3.6/dist-packages/youtube_dlc/extractor/youtube.py", line 2050, in _real_extract
    ASSETS_RE, embed_webpage, 'JS player URL')
  File "/usr/local/lib/python3.6/dist-packages/youtube_dlc/extractor/common.py", line 1010, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dlc.utils.RegexNotFoundError: Unable to extract JS player URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dlc with the --verbose flag and include its complete output.

Description

This issue is happening around 2-3% of the time when downloading some Videos. This is one of the Videos (https://youtu.be/dX3k_QDnzHE), I am using yt-dlc in python embedded and not as a command line tool. I tried to make it as verbose as possible. If you need more info, just let me know.

As this issue is only happening sometimes, I know this is extremely hard to reproduce and fix, but maybe other people are experiencing this issue too and can share their experience with said issue.

If you need any more info, let me know

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:26 (2 by maintainers)

github_iconTop GitHub Comments

13reactions
NicoleKaicommented, Oct 31, 2020

Google must have broken the js protocol we were using because of the DMCA takedown and now we’re gonna have to completely redo the program. So rude 😠

4reactions
blackjack4494commented, Oct 28, 2020

Just wait for next release or build yourself.

Read more comments on GitHub >

github_iconTop Results From Across the Web

youtube-dl - Unable to extract JS player URL : r/youtubedl
ERROR : Unable to extract JS player URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version;...
Read more >
Discord py - ERROR: Unable to extract JS player URL
I am trying to make my own discord music bot with youtube-dl. Since the original youtube-dl isnt available anymore I use a copy...
Read more >
[fix] Unable to extract JS player URL · 6a82b63f29 - youtube-dl ...
youtube -dl.
Read more >
youtube-dl ERROR: Unable to extract JS player URL; please report ...
I get this error when importing certain videos. How to solve this error? See More. View in GitHub. SOLVE ISSUE.
Read more >
[SOLVED] youtube-dl can't download YT video - Devuan Forum
utils.RegexNotFoundError : Unable to extract Initial JS player signature function name; please report this issue on https://yt-dl.org/bug . Make ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found