-
-
Notifications
You must be signed in to change notification settings - Fork 7.8k
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
[ie/chaturbate] Extract from API and support impersonation #11555
Conversation
Use the ajax api to get the stream URL. This also allows easier extraction of the room status. I left the existing webpage-based extraction as a fallback.
I've applied the initial version of this PR and while at first things looked good I still hit
I'll try to provide verbose output the next time it happens. Edit, didn't take long:
|
Is there an ETA of when this will be released?
|
@h0m3rth0mps0n or wait 30 minutes and run |
) Closes yt-dlp#6546, Closes yt-dlp#10359 Authored by: powergold1
Description of your pull request and other information
Use the ajax api to get the stream URL instead of parsing the webpage. Using the API was suggested by @oifj34f34f in #10359
The API should be faster and simpler and also fixes the occasional 403 response mentioned in #6546 The API also allows easier extraction of the room status.
I've left the existing webpage-based extraction as a fallback.
Fixes #6546
Fixes #10359
Template
Before submitting a pull request make sure you have:
In order to be accepted and merged into yt-dlp each piece of code must be in public domain or released under Unlicense. Check all of the following options that apply:
What is the purpose of your pull request?