1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-11-09 02:55:11 +00:00
Files
yt-dlp/yt_dlp/extractor/crunchyroll.py
Jeff Huffman 706dfe441b [crunchyroll:beta] Add cookies support (#2506)
* Extract directly from the beta API when cookies are passed. If login cookie is absent, the extraction is delegated to `CrunchyrollIE`. This causes different metadata to be extracted (including formats and video id) and therefore results in a different archive entry. For now, this issue is unavoidable since the browser also redirects to the old site when not logged in.

* Adds extractor-args `format` and `hardsub` to control the source and subtitles of the extracted formats

Closes #1911
Authored by: tejing1
2022-01-29 06:03:51 +05:30

37 KiB