Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
New option --crunchyroll-session-id which allows the user to specify a specific API session ID #12130
Comments
|
youtube-dl does not use crunchyroll APIs. |
|
Sorry for necrobumping but wouldn't it be possible to implement this feature using cookies instead of the API? Onestay's CR-Unblocker plugin does it this way. |
Reference:
Option to set crunchyroll session ID
Support providing a custom Crunchyroll session ID
Link to 32-digit session ID for crunchyroll.com:
https://cr.onestay.moe/getId
https://github.com/Onestay/CR-Unblocker/blob/master/extension/background_script.js
https://chrome.google.com/webstore/detail/cr-unblocker/agapeeilkibacbfeijlidlgppmjaaijn
Link to crunchyroll.py with "session_id" implemented successfully:
https://github.com/streamlink/streamlink/blob/master/src/streamlink/plugins/crunchyroll.py
Since they already got that working and both of you are writing codes in Python, it should be a piece of cake to add an option --crunchyroll-session-id for crunchyroll.py and thanks a lot!