VideoHelp Forum




+ Reply to Thread
Results 1 to 11 of 11
  1. First since this is my first post I'd just really like to thank everyone in this forum, I just came across this site recently and it's amazing to see the tutorials and knowledge shared in this place. I'm super grateful to find it, thank you <3

    Per rules I've seen around here, I have here a video that is free to watch for anyone without an account (though I'm unsure if it's geolocked - I'm in the US): https://www.crunchyroll.com/watch/G62P49XM6/departure-x-and-x-friends My focus is on the ability to download this free video.

    Recently Crunchyroll changed its api as well as forced DRM for all streams, breaking compatibility with tools like crunchy-cli and even yt-dlp sadly. But I've learned enough recently to know that where there's a will there's a way. I wondered if anyone here has found a way to download the encrypted stream?

    Below this point I'm gonna show you my train of thought trying to get this to work.

    Code:
    yt-dlp --user-agent "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36" --cookies-from-browser CHROME --allow-unplayable-formats https://www.crunchyroll.com/watch/G62P49XM6/departure-x-and-x-friends
    I've tried a lot of things but this seems to be the closest I can get to where it actually finds an mp4 to download and then it errors out. And I am using cookies fresh out the oven here
    Image
    [Attachment 77811 - Click to enlarge]


    So then do I need to have a key to even download it in the first place? I did find this yt-dlp plugin for this, so lets get a key and try it out.
    cdrm-project, I got the PSSH, license URL, then I copy curl to paste into curl converter and got the header info, wrapped in brackets. Get an error with no error message (nothing in developer console to suggest there is an issue on the page either).
    Image
    [Attachment 77812 - Click to enlarge]


    Hmm so I need a more complex method of getting a key.I have already got my own l3 cdm thanks to this forum, this blog, and even these handy batch files.
    And this is where I'm getting stumped.
    I find a tool like this MultiMPDTool, but it requires WKS-KEYS which I can't find anywhere. And I don't know if I can just replace it with pywidevine? It has a Windows GUI version but I'm trying to do this on a macbook if at all possible.

    I'm currently trying to figure out how to use devine to see if that might work, since I found a forked repo with a crunchy roll service folder but I suspect it might also be broken since the api changes. Also it's just really confusing as heck.

    At this point I realize just pirating from other means may be easier, but I'm already running into some series which are extremely difficult to find or are only available in versions that don't really suit my needs. And honestly I had gotten spoiled being able to download before and now I'm bursting with spite and determination. Sorry if this thread is all over the place, my adhd brain is leaking out my ears from all this. I'm just looking for any guidance. I am willing to put in the work.
    Quote Quote  
  2. Banned
    Join Date
    Apr 2022
    Location
    Hong Kong
    Search Comp PM
    Nothing has changed.
    Code:
    --key 99007930a1653fb69376f69f9cc0b7f5:eada449913ab4c0c67d574bfeedac187
    Quote Quote  
  3. wks-keys https://files.videohelp.com/u/301890/WKS-KEYS.zip

    for download, you can use yt-dlp or N_m3u8DL-RE, remember cr requires a token to download from mpd url.

    for obtain key, cr has json response, so you need modify l3.py in wks-keys script to parse json response.
    Quote Quote  
  4. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    https://cdm-project.com/ToonsHub/devine has CrunchyRoll as one of its services. (But it is cdm-project! How long it will remain online is anyone's guess.)

    And to acknowledge the original author, as the cdm-project crew never seem big enough to do - their project - and similar downloaders - originally stems from the work of rlapheonix
    Last edited by A_n_g_e_l_a; 19th Mar 2024 at 02:39.
    Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
    https://files.videohelp.com/u/301890/hellyes6.zip
    Quote Quote  
  5. If you are familar with coding in Python, you might try to code a post processor for yt-dlp (documented on yt-dlp's github website), that does fetch the keys, decrypt the downloaded files and finally muxes them into a .mp4 file. @shellcmd already mentioned the steps necessary for the license request - you see the details in the browser's dev console. The not so obvious step is to use

    Code:
    'extractor_args': {' crunchyrollbeta': {'format': ['drm_adaptive_dash']} }
    as option for "yt_dlp.YoutubeDL()" to be able to download the encrypted files. The standard extractor "adaptive_hls" doesn't work anymore. You probably also need the exact same User-Agent header as your browser uses, when downloading premium content.

    yt-dlp is reasonably easy to extend.
    Quote Quote  
  6. Thank you so much for the replies everyone

    Originally Posted by CrymanChen View Post
    Nothing has changed.
    What do you mean nothing has changed ?

    Originally Posted by shellcmd View Post
    wks-keys https://files.videohelp.com/u/301890/WKS-KEYS.zip

    for download, you can use yt-dlp or N_m3u8DL-RE, remember cr requires a token to download from mpd url.

    for obtain key, cr has json response, so you need modify l3.py in wks-keys script to parse json response.
    Thank you so much for this! Now I can use the MultiMPDTool

    Originally Posted by A_n_g_e_l_a View Post
    https://cdm-project.com/ToonsHub/devine has CrunchyRoll as one of its services. (But it is cdm-project! How long it will remain online is anyone's guess.)
    Thank you, this is the fork with the Crunchyroll service folder I'd found. But I'm struggling to get devine to install/work properly on my m1 mac, so I might have to ditch devine for now

    Originally Posted by Obo View Post
    If you are familar with coding in Python, you might try to code a post processor for yt-dlp (documented on yt-dlp's github website), that does fetch the keys, decrypt the downloaded files and finally muxes them into a .mp4 file. @shellcmd already mentioned the steps necessary for the license request - you see the details in the browser's dev console. The not so obvious step is to use

    Code:
    'extractor_args': {' crunchyrollbeta': {'format': ['drm_adaptive_dash']} }
    Thank you! I'm not really a coder, but these extractor arguments are useful and could be used with https://github.com/pratikpatel8982/yt-dlp-mp4decrypt if I get something working to fetch keys.

    -

    Which speaking of getting something working. Yesterday while I was waiting for my post to be approved (I actually thought maybe I didn't submit it at all, there was no evidence it was submitted!) I found https://github.com/anidl/multi-downloader-nx/ which will fetch keys and decrypt for you as long as you provide the l3 cdm files. Just wanted to share in case anyone else is trying to dl from CR, this works really well for the time being.

    Thank you all for your help. I'm not sure how long that last repo will be up/working so this is great info to try and get it working on my own
    Quote Quote  
  7. Originally Posted by samchop View Post
    Which speaking of getting something working. Yesterday while I was waiting for my post to be approved (I actually thought maybe I didn't submit it at all, there was no evidence it was submitted!) I found https://github.com/anidl/multi-downloader-nx/ which will fetch keys and decrypt for you as long as you provide the l3 cdm files. Just wanted to share in case anyone else is trying to dl from CR, this works really well for the time being.

    Thank you all for your help. I'm not sure how long that last repo will be up/working so this is great info to try and get it working on my own
    As the dev - I'm hoping a while. Lol
    I should probably make a mirror...
    Quote Quote  
  8. Cunchyroll Mobile
    �� Version (3.52.0)

    ��️ OS Link ��
    https://apkcombo.com/fr/downloader/#package=com.crunchyroll.crunchyroid&device=phone

    �� Mod Info:
    ◉ Premium Features Unlocked - login required
    ◉ Optimized / Zipaligned Graphics
    ◉ Free layouts visibility disabled
    ◉ CPUs arch: armeabi-v7a, arm64-v8a, x86, x86_64
    ◉ Full Multi Languages
    ◉ Application renamed
    ◉ Complete catalog (US server base)
    ◉ Unlocked playhead
    ◉ Unlocked videos
    ◉ Unlocked music
    ◉ Unlocked movies
    ◉ Disabled email verification
    ◉ Disabled adds
    ◉ Disabled stream limit
    ◉ Original package name
    ◉ Original Signature
    Release by hyugogirubato

    �� Release Info:
    ◉ Bug fixes and performance improvements.

    MD5: fc5432776771d033ab1fc5f603c8693c

    https://gofile.io/d/as6Qsl
    Quote Quote  
  9. I have tried both 'yt-dlp' and 'N_m3u8DL-RE' to download this video from Crunchyroll, but I can't seem to download it. Every time, it shows an error.

    Video Url: https://www.crunchyroll.com/watch/G62P49XM6/departure-x-and-x-friends

    MPD Url:
    Code:
    https://prod.gccrunchyroll.com/evs3/9d78aec78dab42fc8596cf1c74ee38cd/assets/p/4mc2ln2ll5zjefu_,1587693.mp4,1587705.mp4,1587681.mp4,1587669.mp4,1587657.mp4,.urlset/manifest.mpd?URLPrefix=aHR0cHM6Ly9wcm9kLmdjY3J1bmNoeXJvbGwuY29tL2V2czMvOWQ3OGFlYzc4ZGFiNDJmYzg1OTZjZjFjNzRlZTM4Y2QvYXNzZXRzL3AvNG1jMmxuMmxsNXpqZWZ1XywxNTg3NjkzLm1wNCwxNTg3NzA1Lm1wNCwxNTg3NjgxLm1wNCwxNTg3NjY5Lm1wNCwxNTg3NjU3Lm1wNCwudXJsc2V0Lw&Expires=1711730214187&KeyName=cdn-prod-keyset&Signature=P2sF6ezhlKm7geFo6k1YRsSUTi2hXGp0J2F7MdeV5wVnTnjwNtkl5aay4KDwJnZ2o1Y_FPNTsWQN2cDlYzeMCQ


    N_m3u8DL-RE:
    Code:
    N_m3u8DL-RE "https://prod.gccrunchyroll.com/evs3/9d78aec78dab42fc8596cf1c74ee38cd/assets/p/4mc2ln2ll5zjefu_,1587693.mp4,1587705.mp4,1587681.mp4,1587669.mp4,1587657.mp4,.urlset/manifest.mpd?URLPrefix=aHR0cHM6Ly9wcm9kLmdjY3J1bmNoeXJvbGwuY29tL2V2czMvOWQ3OGFlYzc4ZGFiNDJmYzg1OTZjZjFjNzRlZTM4Y2QvYXNzZXRzL3AvNG1jMmxuMmxsNXpqZWZ1XywxNTg3NjkzLm1wNCwxNTg3NzA1Lm1wNCwxNTg3NjgxLm1wNCwxNTg3NjY5Lm1wNCwxNTg3NjU3Lm1wNCwudXJsc2V0Lw&Expires=1711730214187&KeyName=cdn-prod-keyset&Signature=P2sF6ezhlKm7geFo6k1YRsSUTi2hXGp0J2F7MdeV5wVnTnjwNtkl5aay4KDwJnZ2o1Y_FPNTsWQN2cDlYzeMCQ"
    Image
    [Attachment 77994 - Click to enlarge]



    yt-dlp:
    Code:
    yt-dlp.exe --verbose --no-check-certificate --cookies-from-browser firefox --user-agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:124.0) Gecko/20100101 Firefox/124.0" --allow-u -f f2-v1-x3 "https://prod.gccrunchyroll.com/evs3/9d78aec78dab42fc8596cf1c74ee38cd/assets/p/4mc2ln2ll5zjefu_,1587693.mp4,1587705.mp4,1587681.mp4,1587669.mp4,1587657.mp4,.urlset/manifest.mpd?URLPrefix=aHR0cHM6Ly9wcm9kLmdjY3J1bmNoeXJvbGwuY29tL2V2czMvOWQ3OGFlYzc4ZGFiNDJmYzg1OTZjZjFjNzRlZTM4Y2QvYXNzZXRzL3AvNG1jMmxuMmxsNXpqZWZ1XywxNTg3NjkzLm1wNCwxNTg3NzA1Lm1wNCwxNTg3NjgxLm1wNCwxNTg3NjY5Lm1wNCwxNTg3NjU3Lm1wNCwudXJsc2V0Lw&Expires=1711730214187&KeyName=cdn-prod-keyset&Signature=P2sF6ezhlKm7geFo6k1YRsSUTi2hXGp0J2F7MdeV5wVnTnjwNtkl5aay4KDwJnZ2o1Y_FPNTsWQN2cDlYzeMCQ"
    Image
    [Attachment 77995 - Click to enlarge]




    Can someone please help me figure out what I'm doing wrong? It would be greatly appreciated. Thanks.
    Quote Quote  
  10. Originally Posted by SUKA View Post
    I have tried both 'yt-dlp' and 'N_m3u8DL-RE' to download this video from Crunchyroll, but I can't seem to download it. Every time, it shows an error.

    Video Url: https://www.crunchyroll.com/watch/G62P49XM6/departure-x-and-x-friends

    MPD Url:
    Code:
    https://prod.gccrunchyroll.com/evs3/9d78aec78dab42fc8596cf1c74ee38cd/assets/p/4mc2ln2ll5zjefu_,1587693.mp4,1587705.mp4,1587681.mp4,1587669.mp4,1587657.mp4,.urlset/manifest.mpd?URLPrefix=aHR0cHM6Ly9wcm9kLmdjY3J1bmNoeXJvbGwuY29tL2V2czMvOWQ3OGFlYzc4ZGFiNDJmYzg1OTZjZjFjNzRlZTM4Y2QvYXNzZXRzL3AvNG1jMmxuMmxsNXpqZWZ1XywxNTg3NjkzLm1wNCwxNTg3NzA1Lm1wNCwxNTg3NjgxLm1wNCwxNTg3NjY5Lm1wNCwxNTg3NjU3Lm1wNCwudXJsc2V0Lw&Expires=1711730214187&KeyName=cdn-prod-keyset&Signature=P2sF6ezhlKm7geFo6k1YRsSUTi2hXGp0J2F7MdeV5wVnTnjwNtkl5aay4KDwJnZ2o1Y_FPNTsWQN2cDlYzeMCQ

    not read thread carefully, did you see my post at #3? i said
    Code:
    for download, you can use yt-dlp or N_m3u8DL-RE, remember cr requires a token to download from mpd url.
    so where is your command about the token?


    you need add token from mpd header, for N_m3u8DL-RE you need append -H "Authorization: Bearer eyJxxx...............", looks like this.
    Quote Quote  
  11. Originally Posted by shellcmd View Post
    Originally Posted by SUKA View Post
    I have tried both 'yt-dlp' and 'N_m3u8DL-RE' to download this video from Crunchyroll, but I can't seem to download it. Every time, it shows an error.

    Video Url: https://www.crunchyroll.com/watch/G62P49XM6/departure-x-and-x-friends

    MPD Url:
    Code:
    https://prod.gccrunchyroll.com/evs3/9d78aec78dab42fc8596cf1c74ee38cd/assets/p/4mc2ln2ll5zjefu_,1587693.mp4,1587705.mp4,1587681.mp4,1587669.mp4,1587657.mp4,.urlset/manifest.mpd?URLPrefix=aHR0cHM6Ly9wcm9kLmdjY3J1bmNoeXJvbGwuY29tL2V2czMvOWQ3OGFlYzc4ZGFiNDJmYzg1OTZjZjFjNzRlZTM4Y2QvYXNzZXRzL3AvNG1jMmxuMmxsNXpqZWZ1XywxNTg3NjkzLm1wNCwxNTg3NzA1Lm1wNCwxNTg3NjgxLm1wNCwxNTg3NjY5Lm1wNCwxNTg3NjU3Lm1wNCwudXJsc2V0Lw&Expires=1711730214187&KeyName=cdn-prod-keyset&Signature=P2sF6ezhlKm7geFo6k1YRsSUTi2hXGp0J2F7MdeV5wVnTnjwNtkl5aay4KDwJnZ2o1Y_FPNTsWQN2cDlYzeMCQ

    not read thread carefully, did you see my post at #3? i said
    Code:
    for download, you can use yt-dlp or N_m3u8DL-RE, remember cr requires a token to download from mpd url.
    so where is your command about the token?


    you need add token from mpd header, for N_m3u8DL-RE you need append -H "Authorization: Bearer eyJxxx...............", looks like this.
    I fully understand now. Thank you so much. It's working! ❤️❤️❤️
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!