tonypham9981 / crunpyroll

API for Crunchyroll BETA

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crunchyroll BETA API

Installation ⚙️

pip install git+https://github.com/stefanodvx/crunchyroll@main

Example Code ❓

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!

Buy Me A Coffee

About

API for Crunchyroll BETA

License:MIT License


Languages

Language:Python 100.0%