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

BBC News fails with "Unable to extract playlist data" error #9942

Closed
9 of 11 tasks
Prill opened this issue May 17, 2024 · 5 comments
Closed
9 of 11 tasks

BBC News fails with "Unable to extract playlist data" error #9942

Prill opened this issue May 17, 2024 · 5 comments
Labels
duplicate This issue or pull request already exists site-bug Issue with a specific website

Comments

@Prill
Copy link

Prill commented May 17, 2024

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

  • I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

Region

United States

Provide a description that is worded well enough to be understood

I attempted to download the following video: https://www.bbc.com/news/uk-england-leeds-69023225

It fails with the message "Unable to extract playlist data".

Running with --write-pages produces the following dump: https://gist.github.com/Prill/728801a3439788a4a0a66c49ca7846da

Provide verbose output that clearly demonstrates the problem

  • Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
  • If using API, add 'verbose': True to YoutubeDL params instead
  • Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output

[debug] Command-line config: ['-vU', 'https://www.bbc.com/news/uk-england-leeds-69023225']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version [email protected] from yt-dlp/yt-dlp [ff0779267] (pip)
[debug] Python 3.12.3 (CPython arm64 64bit) - macOS-13.6.4-arm64-arm-64bit (OpenSSL 3.2.1 30 Jan 2024)
[debug] exe versions: ffmpeg 7.0 (setts), ffprobe 7.0
[debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2024.02.02, mutagen-1.47.0, requests-2.31.0, sqlite3-3.45.2, urllib3-2.2.1, websockets-12.0
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets
[debug] Loaded 1810 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: [email protected] from yt-dlp/yt-dlp
yt-dlp is up to date ([email protected] from yt-dlp/yt-dlp)
[bbc] Extracting URL: https://www.bbc.com/news/uk-england-leeds-69023225
[bbc] uk-england-leeds-69023225: Downloading webpage
ERROR: [bbc] uk-england-leeds-69023225: Unable to extract playlist data; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
  File "/opt/homebrew/Cellar/yt-dlp/2024.4.9_1/libexec/lib/python3.12/site-packages/yt_dlp/extractor/common.py", line 734, in extract
    ie_result = self._real_extract(url)
                ^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/yt-dlp/2024.4.9_1/libexec/lib/python3.12/site-packages/yt_dlp/extractor/bbc.py", line 1291, in _real_extract
    self._search_regex(
  File "/opt/homebrew/Cellar/yt-dlp/2024.4.9_1/libexec/lib/python3.12/site-packages/yt_dlp/extractor/common.py", line 1321, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
@Prill Prill added site-bug Issue with a specific website triage Untriaged issue labels May 17, 2024
@Prill
Copy link
Author

Prill commented May 17, 2024

Please let me know if I didn't provide enough information.

@Prill Prill changed the title BBC news fails with "Unable to extract playlist data" error BBC News fails with "Unable to extract playlist data" error May 17, 2024
@bashonly
Copy link
Member

bashonly commented May 17, 2024

You went above-and-beyond with providing info; thanks!

Have to close this as a duplicate of #9701, though. And yes, that issue's title is not exactly optimized for searches, so no worries.

This will be fixed by #9705

@bashonly bashonly closed this as not planned Won't fix, can't repro, duplicate, stale May 17, 2024
@bashonly bashonly added duplicate This issue or pull request already exists and removed triage Untriaged issue labels May 17, 2024
@Prill
Copy link
Author

Prill commented May 17, 2024

Is there a known workaround? I don't mind poking around the source code for a m3u8 URL or whatever, but I couldn't find one in this case.

@bashonly
Copy link
Member

@Prill The PR has been merged. If you installed with homebrew, you can do this to install from the master branch:

brew uninstall yt-dlp
brew install --HEAD yt-dlp

@Prill
Copy link
Author

Prill commented May 18, 2024

Danke. I'll probably wait until it's officially in the release; it's not urgent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists site-bug Issue with a specific website
Projects
None yet
Development

No branches or pull requests

2 participants