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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ie/crunchyroll] Remove initial state scrape #7632
Conversation
Works perfectly for me! Thank you. Also I checked the code and it shouldn't cause any merge conflicts with my PR (#7009) after you merge it to master. |
This PR and build aim to fix both the 403 and the If it fails, there is still a way to do the workaround as discussed here:
To test, first get the build in one of the following ways:
Afterwards, try and run through the above steps, letting me know of any further errors. |
@hajimekun Doesn't sound like it would be related. You can open a new issue if you think it should be looked into |
Authored by: Grub4K
IMPORTANT: PRs without the template will be CLOSED
Description of your pull request and other information
This PR removes the initial state scraping, saving one request. The initial state payload was removed from the webpage, and so we hardcode these values instead.
It also tries to adds a more helpful message for 403 workaround (#7442).
Fixes #7624
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?
Copilot Summary
馃 Generated by Copilot at 06d280f
Summary
馃洜锔忦煂愨渽
Improve Crunchyroll extraction by using better API parameters, handling errors, and fixing a bug.
Walkthrough