Skip to content
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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crunchyroll subtitles (old format) decryption is broken #24900

Closed
anidl opened this issue Apr 20, 2020 · 2 comments
Closed

Crunchyroll subtitles (old format) decryption is broken #24900

anidl opened this issue Apr 20, 2020 · 2 comments

Comments

@anidl
Copy link

@anidl anidl commented Apr 20, 2020

Checklist

  • I'm asking a question
  • I've looked through the README and FAQ for similar questions
  • I've searched the bugtracker for similar questions including closed ones

Question

Hello. Recently Crunchyroll changed encryption for their subtitles for RPC api, so decryption will always fail.

Code fragment:
https://github.com/ytdl-org/youtube-dl/blob/master/youtube_dl/extractor/crunchyroll.py#L272

@Kcchouette
Copy link

@Kcchouette Kcchouette commented Apr 21, 2020

No problem on my side, maybe verbose log will be more helpful @anidl...

@jsonn
Copy link

@jsonn jsonn commented Apr 23, 2020

When getting the normal HTML frontend page, look for "subtitles":. It is followed by a JSON encoded array of subtitle entries with a language/title field and and an URL field. If you load the URL, you directly get the ASS version of the subtitle for that language. It doesn't seem to require anything special beyond extracting the URL and maybe logging in originally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.