pip install git+https://github.com/stefanodvx/crunchyroll@main
This API requires an account, and works only on Crunchyroll BETA!
from crunchyroll_beta import Crunchyroll
cr = Crunchyroll("email", "password")
cr.start()
series_id = "GY5P48XEY" # cr.search("Demon Slayer")
season_id = cr.get_seasons(series_id)[2].id
episode = cr.get_episodes(season_id)[0]
url = cr.get_streams(episode).streams.adaptive_hls.en.url # m3u8 url
You can get DASH, HLS, raws, subtitles only, hardsubbed videos...
Just explore the API yourself and have fun!