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

[Zaiko] Unable to extract player #9798

Open
11 tasks done
kyleayy opened this issue Apr 26, 2024 · 3 comments
Open
11 tasks done

[Zaiko] Unable to extract player #9798

kyleayy opened this issue Apr 26, 2024 · 3 comments
Assignees
Labels
account-needed Account details are needed to test/fix this can-share-account Someone is willing to provide account details for development site-bug Issue with a specific website

Comments

@kyleayy
Copy link

kyleayy commented Apr 26, 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 Kingdom

Provide a description that is worded well enough to be understood

Not really sure as to why I'm getting this error. I've tried doing the same command output on a test stream you can access and download from Zaiko, and that seems to be working fine? Both FFMPEG and Nightly yt-dlp is up to date.

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', '--cookies', 'F:/zaiko.io_cookies.txt', 'https://zaiko.io/event/363371/stream/135051/149729']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version [email protected] from yt-dlp/yt-dlp-nightly-builds [ff38a011d] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.19045-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg http://2023-10-18-git-e7a6bba51a-essentials_build-www.gyan.dev (setts), ffprobe http://2023-10-18-git-e7a6bba51a-essentials_build-www.gyan.dev
[debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2024.02.02, curl_cffi-0.5.10, mutagen-1.47.0, requests-2.31.0, sqlite3-3.35.5, urllib3-2.2.1, websockets-12.0
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets, curl_cffi
[debug] Loaded 1810 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-nightly-builds/releases/latest
Latest version: [email protected] from yt-dlp/yt-dlp-nightly-builds
yt-dlp is up to date ([email protected] from yt-dlp/yt-dlp-nightly-builds)
[Zaiko] Extracting URL: https://zaiko.io/event/363371/stream/135051/149729
[Zaiko] 363371: Downloading webpage
[Zaiko] 363371: Downloading player page
ERROR: [Zaiko] 363371: Unable to extract player; 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 "yt_dlp\extractor\http://common.py", line 734, in extract
  File "yt_dlp\extractor\http://zaiko.py", line 68, in _real_extract
  File "yt_dlp\extractor\http://zaiko.py", line 28, in _parse_vue_element_attr
  File "yt_dlp\extractor\http://common.py", line 1321, in _search_regex
@kyleayy kyleayy added site-bug Issue with a specific website triage Untriaged issue labels Apr 26, 2024
@bashonly bashonly added account-needed Account details are needed to test/fix this can-share-account Someone is willing to provide account details for development labels Apr 26, 2024
@kyleayy
Copy link
Author

kyleayy commented Apr 26, 2024

I'm willing to share my account details if need be to test this!

@bashonly
Copy link
Member

I'm familiar with the extractor, and I'd be willing to look at this, but it may take me a few days to get around to it.

Contact me via:

  • email: bashonly ( at ) protonmail ( dot ) com
  • discord: bashonly

@bashonly bashonly removed the triage Untriaged issue label Apr 29, 2024
@bashonly bashonly self-assigned this Apr 29, 2024
@vschule
Copy link

vschule commented May 4, 2024

Same problem here.
Apparently they have some jwt protection before the stream now.
so in initial_event_info it's jwt_token_url instead of endpoint .
Then you can read the webpage in that url, which will give you an object with a playback_url
Using the playback_url as the stream works.

I don't have the setup to do a PR right now unfortunately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
account-needed Account details are needed to test/fix this can-share-account Someone is willing to provide account details for development site-bug Issue with a specific website
Projects
None yet
Development

No branches or pull requests

3 participants