anidl / multi-downloader-nx

Downloader for Crunchyroll, Hidive, AnimeOnegai, and AnimationDigitalNetwork with CLI and GUI
MIT License
292 stars 47 forks source link

[BUG]: Cant download from Crunchyroll #728

Closed Mxater closed 3 months ago

Mxater commented 4 months ago

Program version

5.1.3

Operating System

Windows

Type

GUI

Service

Crunchyroll

Command used

Download

Show ID

GRWEMVNQR

Episode

1,2,3,4,5,6,7,8,9,10,11,12,13

Console Output

[S1E1] - Their Remarkable Encounter [✓ Japanese]
Requesting: [G6097J4E6] Love Lab - 1 - Their Remarkable Encounter
Chapter request successful
[WARN] Decryption not enabled!
[WARN] No full streams found!
[ERROR] Download error: Unable to download episode 1 from GRWEMVNQR
USER: mxater (mxater@gmail.com)
[DEBUG] Got download options: {"id":"GRWEMVNQR","q":0,"e":"2","dubLang":["jpn"],"dlsubs":["all"],"fileName":"[${service}] ${showTitle} - S${season}E${episode} [${height}p]","dlVideoOnce":false,"all":false,"but":false,"noaudio":true,"novids":true,"simul":false,"ids":["G6751W3JR"],"title":"The Shy, the Cool, and the Perverted?","parent":{"title":"Love Lab","season":"1"},"image":"https://www.crunchyroll.com/imgsrv/display/thumbnail/1200x675/catalog/crunchyroll/79cbadeffff06f940c44ac458f0db222.jpe","episode":"2"}

[S1E7] - To the Kurahashi House! [✓ Japanese]
Requesting: [G63VWJ0WY] Love Lab - 7 - To the Kurahashi House!
Chapter request successful
[ERROR] 420:
[ERROR] {"error":"TOO_MANY_ACTIVE_STREAMS","activeStreams":[{"deviceSubtype":"chrome","accountId":"b01044d2-22df-5ee4-a3cb-f280e4b7b0bb","deviceType":"web","subscription":"crunchyroll","maxKeepAliveSeconds":370,"ttl":1720057131,"episodeIdentity":"GRWEMVNQR|S1E5","country":"CL","clientId":"cr_android","active":true,"deviceId":"6b78a169-4002-41d1-a622-23b426c4a6a8","token":"0d-37b1892f-6626-441d-b653-0a00356cdc72","assetId":"xvgiquzaxmui146","sessionType":"STREAMING","contentId":"GYNQJMN0Y","usesStreamLimits":true,"playbackType":"on_demand","pk":"ACCOUNT|b01044d2-22df-5ee4-a3cb-f280e4b7b0bb","id":"STREAMING|0d-37b1892f-6626-441d-b653-0a00356cdc72","lastKeepAliveTimestamp":1720035531080,"createdTimestamp":1720035531080},{"deviceSubtype":"chrome","accountId":"b01044d2-22df-5ee4-a3cb-f280e4b7b0bb","deviceType":"web","subscription":"crunchyroll","maxKeepAliveSeconds":370,"ttl":1720057128,"episodeIdentity":"GRWEMVNQR|S1E4","country":"CL","clientId":"cr_android","active":true,"deviceId":"6b78a169-4002-41d1-a622-23b426c4a6a8","token":"0d-4c88164d-d1af-4240-a4c2-b5ac0dfaf05a","assetId":"bs013plgvka5gh2","sessionType":"STREAMING","contentId":"GR19QJ126","usesStreamLimits":true,"playbackType":"on_demand","pk":"ACCOUNT|b01044d2-22df-5ee4-a3cb-f280e4b7b0bb","id":"STREAMING|0d-4c88164d-d1af-4240-a4c2-b5ac0dfaf05a","lastKeepAliveTimestamp":1720035528547,"createdTimestamp":1720035528547},{"deviceSubtype":"chrome","accountId":"","deviceType":"web","subscription":"crunchyroll","maxKeepAliveSeconds":370,"ttl":1720057125,"episodeIdentity":"GRWEMVNQR|S1E3","country":"CL","clientId":"cr_android","active":true,"deviceId":"6b78a169-4002-41d1-a622-23b426c4a6a8","token":"","assetId":"9nhqufuhp0nv55t","sessionType":"STREAMING","contentId":"GYX0MVKKR","usesStreamLimits":true,"playbackType":"on_demand","pk":"ACCOUNT|b01044d2-22df-5ee4-a3cb-f280e4b7b0bb","id":"STREAMING|0d-c1afb9ae-600d-4f5e-887b-fae20165f82e","lastKeepAliveTimestamp":1720035525623,"createdTimestamp":1720035525623},{"deviceSubtype":"chrome","accountId":"b01044d2-22df-5ee4-a3cb-f280e4b7b0bb","deviceType":"web","subscription":"crunchyroll","maxKeepAliveSeconds":370,"ttl":1720057118,"episodeIdentity":"GRWEMVNQR|S1E1","country":"CL","clientId":"cr_android","active":true,"deviceId":"6b78a169-4002-41d1-a622-23b426c4a6a8","token":"0d-c23fc797-61e7-40d9-a43e-7cd9729a233f","assetId":"eemxp35hwgermzh","sessionType":"STREAMING","contentId":"G6097J4E6","usesStreamLimits":true,"playbackType":"on_demand","pk":"ACCOUNT|b01044d2-22df-5ee4-a3cb-f280e4b7b0bb","id":"STREAMING|0d-c23fc797-61e7-40d9-a43e-7cd9729a233f","lastKeepAliveTimestamp":1720035518909,"createdTimestamp":1720035518909},{"deviceSubtype":"chrome","accountId":"b01044d2-22df-5ee4-a3cb-f280e4b7b0bb","deviceType":"web","subscription":"crunchyroll","maxKeepAliveSeconds":370,"ttl":1720057133,"episodeIdentity":"GRWEMVNQR|S1E6","country":"CL","clientId":"cr_android","active":true,"deviceId":"6b78a169-4002-41d1-a622-23b426c4a6a8","token":"0d-c30a2fc3-17b5-467e-adce-a9ca6d7cbc99","assetId":"5n31yda8c8vxyvp","sessionType":"STREAMING","contentId":"G6MG8MJG6","usesStreamLimits":true,"playbackType":"on_demand","pk":"ACCOUNT|b01044d2-22df-5ee4-a3cb-f280e4b7b0bb","id":"STREAMING|0d-c30a2fc3-17b5-467e-adce-a9ca6d7cbc99","lastKeepAliveTimestamp":1720035533844,"createdTimestamp":1720035533844},{"deviceSubtype":"chrome","accountId":"b01044d2-22df-5ee4-a3cb-f280e4b7b0bb","deviceType":"web","subscription":"crunchyroll","maxKeepAliveSeconds":370,"ttl":1720057122,"episodeIdentity":"GRWEMVNQR|S1E2","country":"CL","clientId":"cr_android","active":true,"deviceId":"6b78a169-4002-41d1-a622-23b426c4a6a8","token":"0d-ea840944-8a11-457d-8495-1adddab480ac","assetId":"ai48wjkaoc5lfhz","sessionType":"STREAMING","contentId":"G6751W3JR","usesStreamLimits":true,"playbackType":"on_demand","pk":"ACCOUNT|b01044d2-22df-5ee4-a3cb-f280e4b7b0bb","id":"STREAMING|0d-ea840944-8a11-457d-8495-1adddab480ac","lastKeepAliveTimestamp":1720035522373,"createdTimestamp":1720035522373}]}
[ERROR] Non-DRM Request Stream URLs FAILED!
[WARN] Decryption not enabled!
[WARN] No full streams found!
[ERROR] Download error: Unable to download episode 7 from GRWEMVNQR
USER: mxater (mxater@gmail.com)
[DEBUG] Got download options: {"id":"GRWEMVNQR","q":0,"e":"8","dubLang":["jpn"],"dlsubs":["all"],"fileName":"[${service}] ${showTitle} - S${season}E${episode} [${height}p]","dlVideoOnce":false,"all":false,"but":false,"noaudio":true,"novids":true,"simul":false,"ids":["GR2P5NGER"],"title":"To the Wild Kid...","parent":{"title":"Love Lab","season":"1"},"image":"https://www.crunchyroll.com/imgsrv/display/thumbnail/1200x675/catalog/crunchyroll/a48f40ccd67f01b85113fbf26c403919.jpe","episode":"8"}

Additional Information

I tried to download chapters from crunchyroll, but not download nothing. I tried too only download subtitles, but not work too.

I attach 2 logs, one for not downloaded an another with TOO_MANY_ACTIVE_STREAMS error.

Jaynator495 commented 4 months ago

Refer to Issue #726, You need a CDM. I really need to make this error more explicit

Ch0kehold commented 4 months ago

I had the same exact issue, although I did have a CDM retrieved today and I also have a premium account, active and verified as of today as well.

This fixed it for me: I had not considered the .config/bin-path.yaml for the external tools. I pointed the paths and escaped the backslashes (C:\\Users\\USERNAME etc). Suddenly it started working.

@Jaynator495 Maybe a check at startup (when relevant switches are used) to see if paths to binaries are valid (and maybe break if not), before connection to service is made? It would point users to the issue and also prevent TOO_MANY_ACTIVE_STREAMS in one go. TS is not my language unfortunately, sorry.

Jaynator495 commented 4 months ago

@Jaynator495 Maybe a check at startup (when relevant switches are used) to see if paths to binaries are valid (and maybe break if not), before connection to service is made? It would point users to the issue and also prevent TOO_MANY_ACTIVE_STREAMS in one go. TS is not my language unfortunately, sorry.

I think it originally was like that because none of the binaries were a hard requirement, though I should probably at least add a warning at the start of the script for if the binaries given in bin-path.yml are valid or not

21R01A7263 commented 4 months ago

here's my folder structure, if it is of any help

image

inside the "bin" folder

image

contents of "bin-path.yml" under the "config" folder

ffmpeg: ".\\bin\\ffmpeg.exe"
mkvmerge: ".\\bin\\mkvmerge.exe"
ffprobe: ".\\bin\\ffprobe.exe"
mp4decrypt: ".\\bin\\mp4decrypt.exe"
Mxater commented 4 months ago

For my, now works in this way. I only misses the widevine files for work.

image

ffmpeg: "ffmpeg.exe"
mkvmerge: "mkvmerge.exe"
ffprobe: "ffprobe.exe"
mp4decrypt: "mp4decrypt.exe"
BalaPriyanB commented 4 months ago

How to get cdm

21R01A7263 commented 4 months ago

How to get cdm

Google it, due to legalities i cannot extend any help

BalaPriyanB commented 4 months ago

I searched don't know so only asked here bro , If you can please tell me here bro

https://t.me/TamilloggersAdmin

21R01A7263 commented 4 months ago

i will be messaging you

AnimeDL commented 3 months ago

Alright, closing this now