Hello
I managed to find the PSSH and the license link, but when generating the key it is returning an error (Code 500).
Can you generate a key and decrypt normally for this link?
https://v.youku.tv/v_show/id_XNTk1MzE2MzA1Ng==.html?s=afab1c1855394aa2988a&spm=a2hje.1...k1MzE2MzA1Ng==
PSSH: AAAASnBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAACoSENdyuh oYZA3pvW1zPiLDwCUSENdyuhoYZA3pvW1zPiLDwCVI88aJmwY=
License sever: https://drm-license.youku.tv/ups/drm.json
m3u8: https://pl-ali.youku.tv/playlist/m3u8?vid=XNTk1MzE2MzA1Ng%3D%3D&type=cmfv4hd2&ups_clie...p_key=34300712
Obs: The first few minutes of the video is not encrypted.
Who can help me thank you.
+ Reply to Thread
Results 1 to 25 of 25
-
-
-
What tools are you using? Youku requires custom script and will not work with sites likes cdrm-project or getwvkeys.
Code:--key d772ba1a18640de9bd6d733e22c3c025:0f0a8ddc6082e473bd35b011fa1203f9
-
-
Last edited by andertjf; 17th Jun 2023 at 07:42.
-
-
-
-
audio
ffmpeg -user_agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" -referer "https://v.youku.tv/" -i "https://valipl.cp31.ott.cibntv.net/6974CED0F7F3F71BB544D6390/07000000006455E13914C7D03743AAA06FEDE2-87CC-451A-95E2-E65C567EF7CA.m3u8?ccode=0597&duration=2595&expire= 18000&psid=4b0b8e2b82b214eaf925375557b86f6741346&u ps_client_netip=43471613&ups_ts=1687008151&ups_use rid=&apscid=&mnid=&rid=20000000F880FA96ABE788DB339 B010D8E911DD602000000&operate_type=1&umt=1&type=cm fv4hd2&utid=BKEUHTei4GUCAUNHFhPZ2HgH&vid=XNTk1MzE2 MzA1Ng%3D%3D&s=afab1c1855394aa2988a&t=f942294dfadd 6b&cug=2&bc=2&si=5&eo=1&ckt=5&m_onoff=0&vkey=Bd7ec 852c2bc985c26b68aa5384c0a22b&fms=66242518a17b753c& tr=2595&le=5fa82a8a9e9b465633a03bce6c7c3dc3&app_ke y=34300712&app_ver=9.3.14" -c copy "audio.ts"
video
ffmpeg -user_agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" -referer "https://v.youku.tv/" -i "https://valipl.cp31.ott.cibntv.net/67747DE483A4B7211228D2CE8/0500CC00006455E1D22F2D3F8B69BBECB4DFE6-4A41-4659-BBAE-3AD7FB1E35D6.m3u8?ccode=0597&duration=2595&expire= 18000&psid=4b0b8e2b82b214eaf925375557b86f6741346&u ps_client_netip=43471613&ups_ts=1687008151&ups_use rid=&apscid=&mnid=&rid=20000000F50C7BC41E02E0D1D17 2E767B5A44C6E02000000&operate_type=1&umt=1&type=cm fv4hd2&utid=BKEUHTei4GUCAUNHFhPZ2HgH&vid=XNTk1MzE2 MzA1Ng%3D%3D&s=afab1c1855394aa2988a&t=f942294dfadd 6b&cug=2&bc=2&si=5&eo=1&ckt=5&m_onoff=0&vkey=B0bc2 5003a3d622af4164b17379521622&fms=ffe63516c2ef831f& tr=2595&le=f9ef85e9267cec00c2159d40fb7705b0&app_ke y=34300712&app_ver=9.3.14" -c copy "video.ts"
Kindly download and mux. -
-
use stabbedbybrick key with mp4decrypt
video
Code:mp4decrypt --key d772ba1a18640de9bd6d733e22c3c025:0f0a8ddc6082e473bd35b011fa1203f9 video.mp4 video_dec.mp4
Code:mp4decrypt --key d772ba1a18640de9bd6d733e22c3c025:0f0a8ddc6082e473bd35b011fa1203f9 audio.mp4a audio_dec.mp4a
Code:ffmpeg.exe -i video_dec.mp4 -i audio_dec.mp4a -c copy final_video.mp4
-
-
Originally Posted by NBA456017Originally Posted by andertjf
Youku, and many other services, send and request information as JSON objects. If you look at the sticky post by A_n_g_e_l_a where she writes about this very thing, you'll see examples of what that might look like if you want to use WKS. You parse the data, generate your challenge, b64encode it, and insert it at the proper place. In many cases, the data is already in JSON, but in youku's case it comes as a series of key:value pairs. So you need to first parse it into JSON, and then insert your challenge at the proper dictionary key, which in this case is fittingly named ["licenseRequest"]. And then you send the request to the license server.
And then you have to do the same thing for the response. It's generally a good idea to print out the steps along the way to see what's happening.
And yes, your PSSH and license url are both correct. -
-
I agree with @stabbedbybrick, in fact he has explained much of it.
You need some python knowledge to create a customized script for Youku.
[Attachment 71834 - Click to enlarge]
and your key isCode:--key d772ba1a18640de9bd6d733e22c3c025:0f0a8ddc6082e473bd35b011fa1203f9
You could use N_m3u8DL-RE to download and then decrypt the video stream and audio streams by using the command:
Code:N_m3u8DL-RE.exe "https://pl-ali.youku.tv/playlist/m3u8?...&cmfvFileId=0500CC00006455E058A93C6BFA90C70D4A2E57-D07C-4D4E-B00B-E218A212DED5&cmfaFileId=07000000006455E00CB521711381F91C1A6C2A-800A-4E91-A651-AB86E9C9439C&..." --key d772ba1a18640de9bd6d733e22c3c025:0f0a8ddc6082e473bd35b011fa1203f9
Last edited by CrymanChen; 19th Jun 2023 at 13:56. Reason: Added how to download & decrypt altogether.
-
-
Then send the URL of the video you want to download, only in this way can we help you get the keys.
Otherwise are you waiting for me to sort everything done for you? -
i have to download videos for everyday . it would be great if you could sort everything for me.
i will buy u a coffee ^_^. because i really need to know how to download from youku.
i can use custom script . but to create the custom script i have zero knowledge of python.
https://v.youku.tv/v_show/id_XNTk3NjE3MjE1Ng==.html?s=fddae7e0941b4d1283fb&spm=a2hje.1...k3NjE3MjE1Ng== -
@lukhitt1992
its only V.I.P member to view 1080p
free 720p
Code:50a842ea1654d8ec4008adf003535beb:6e1ea3691714f6a0bb7d2b691be78d92
-
video is still encrypted after using your key.
N_m3u8DL-RE (Beta version) 20230618
21:10:31.086 INFO : Loading URL: http://valipl10.cp31.ott.cibntv.net/697543F046C4471DF477E24D2/0500CC000064954EC1607873...&app_ver=9.4.0
21:10:31.755 INFO : Content Matched: HTTP Live Streaming
21:10:31.756 INFO : Parsing streams...
21:10:31.757 ERROR: Failed to get KEY, ignore.: One or more errors occurred. (The 'skd' scheme is not supported.)
21:10:31.760 WARN : Writing meta json
21:10:31.762 INFO : Extracted, there are 1 streams, with 1 basic streams, 0 audio streams, 0 subtitle streams
21:10:31.763 INFO : Vid *UNKNOWN Kbps | 217 Segments | ~45m20s
21:10:31.763 WARN : An unrecognized encryption method is detected, binary merging is automatically enabled
21:10:31.763 INFO : Selected streams:
21:10:31.763 INFO : Vid *UNKNOWN Kbps | 217 Segments | ~45m20s
21:10:31.763 WARN : Writing meta json
21:10:31.765 INFO : Save Name: 0500CC000064954EC1607873AF7E2B1A03A8CB-CFD3-494B-A848-FBB4830F2793_2023-06-25_21-10-31
21:10:31.766 INFO : Start downloading...Vid Kbps
21:10:31.859 WARN : Type: cbcs
21:10:31.860 WARN : PSSH(WV): EhB/9FtPbJK+bOhjt/pmEEYFEhB/9FtPbJK+bOhjt/pmEEYFSPPGiZsG
21:10:31.861 WARN : KID: 7ff45b4f6c92be6ce863b7fa66104605
21:10:31.862 WARN : Reading media info...
21:10:31.881 INFO : NaN: Video, h264 (avc1), 1280x544
21:10:41.134 INFO : Binary merging...
21:10:41.211 INFO : Decrypting...
21:10:41.213 INFO : Done -
@iamghost
Didn't know non-premium users could watch the 720p video.
I only met the window which let me resubscribe to their plans. -
Similar Threads
-
Please help me with videos from YOUKU
By Little_Fella in forum Video Streaming DownloadingReplies: 7Last Post: 3rd Jul 2023, 09:03 -
Download full-videos from YOUKU.COM
By minegroasprilla in forum Video Streaming DownloadingReplies: 22Last Post: 25th May 2023, 20:47 -
Help me with youku.com videos
By luvmichelle in forum Video Streaming DownloadingReplies: 8Last Post: 19th Sep 2022, 06:14 -
not able to download video from youku
By luvmichelle in forum Video Streaming DownloadingReplies: 3Last Post: 8th Jun 2022, 02:34 -
Download from YOUKU
By minegroasprilla in forum Video Streaming DownloadingReplies: 12Last Post: 5th Feb 2019, 10:49