You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This endpoint provides the same m3u8 stream URL that is embedded in HTML (specifically in window.initialRoomDossier). The advantage is that this is ~500 times smaller in size compared to downloading the entire HTML page and simplifies error handling.
Here is a rough sequence of actions:
if "success":
- true:
if "room_status":
- "public":
if "url":
- [m3u8 stream url]
- "": [room is geo-blocked]
- something else: [room is private or offline]
- false: [room doesn't exist]
All possible room_status values can be found here. Not sure what we need to tell the user in non-public cases, above is just an example.
Maybe someday I'll do a PR if I have time. What do you think about that?
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
No response
The text was updated successfully, but these errors were encountered:
DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE
Checklist
Region
No response
Example URLs
https://chaturbate.com/kira_censori/
Provide a description that is worded well enough to be understood
Currently yt-dlp loads the entire page to find the m3u8 stream URL, but another way is to use the API:
This endpoint provides the same m3u8 stream URL that is embedded in HTML (specifically in
window.initialRoomDossier
). The advantage is that this is ~500 times smaller in size compared to downloading the entire HTML page and simplifies error handling.Here is a rough sequence of actions:
All possible
room_status
values can be found here. Not sure what we need to tell the user in non-public
cases, above is just an example.Maybe someday I'll do a PR if I have time. What do you think about that?
Provide verbose output that clearly demonstrates the problem
yt-dlp -vU <your command line>
)'verbose': True
toYoutubeDL
params instead[debug] Command-line config
) and insert it belowComplete Verbose Output
No response
The text was updated successfully, but these errors were encountered: