Hi Guys,
I'm trying to download this video with yt-dlp
I'm kind of newbie, I was able to download the videos some time ago before they were encrypted.Code:>yt-dlp https://edge-vod03-hr.cvattv.com.ar/vod/c5eds/vod/HTTL8469792917599003-Tren_dinosaurio__Is/_/vod_dash/HTTL8469792917599003-Tren_dinosaurio__Is.mpd [generic] HTTL8469792917599003-Tren_dinosaurio__Is: Requesting header WARNING: [generic] Falling back on generic information extractor. [generic] HTTL8469792917599003-Tren_dinosaurio__Is: Downloading webpage [generic] HTTL8469792917599003-Tren_dinosaurio__Is: Extracting information ERROR: [generic] HTTL8469792917599003-Tren_dinosaurio__Is: This video is DRM protected
Any help is appreciated.
Thanks
Support our site by donate $5 directly to us Thanks!!!
Try StreamFab Downloader and download streaming video from Netflix, Amazon!
Try StreamFab Downloader and download streaming video from Netflix, Amazon!
+ Reply to Thread
Results 1 to 30 of 36
-
-
add --allow-u
Code:yt-dlp --allow-u https://edge-vod03-hr.cvattv.com.ar/vod/c5eds/vod/HTTL8469792917599003-Tren_dinosaurio__Is/_/vod_dash/HTTL8469792917599003-Tren_dinosaurio__Is.mpd
Last edited by lomero; 3rd Jan 2022 at 07:32.
-
Help yourself by searching this forum instead of asking to be spoonfed, there are HUNDREDS of posts detailing how to DL encrypted content and what to do with it post-download.
First of all you must request what formats are available with the (capital) -F command
Code:yt-dlp -F --allow-u "https://edge-vod03-hr.cvattv.com.ar/vod/c5eds/vod/HTTL8469792917599003-Tren_dinosaurio__Is/_/vod_dash/HTTL8469792917599003-Tren_dinosaurio__Is.mpd"
DL audio part
Decrypt video part
Decrypt audio part
Merge both decrypted parts with ffmpeg -
Thank you both, is the decrypt key present in the mpd? I'm trying to figure out how to get it
-
To get the keys you need the pssh + the headers + the licence url
The pssh can be found in the mpd in plain text or encoded - or by use of a Tampermonkey script https://greasyfork.org/en/scripts/373903-eme-logger
If you use this install Tampermonkey first
https://www.tampermonkey.net/
We can help with the headers )
Lic url can be found by filter url in Network tab for lic, wv, widevine, auth (etc) or other similar words
But you will need a working CDM, this no one will help you with.
If you just want a one-off set of decryption keys, any of us will help you though.Last edited by codehound; 3rd Jan 2022 at 14:34.
-
Thank you!, I just want to download this for my son (one time only).
I think the license URL can be obtained from EME call and log extension so I can attach both the log and the mpd (I don't know which field in the mpd is the PSSH).Last edited by Goras; 3rd Jan 2022 at 15:48.
-
@Goras
Lic url
licenseServerUri: "https://wv-client.cvattv.com.ar?deviceId=YWNhOGZjYTZkODdkMzcw ZjA1YTNlNmQ1NzRhNmEwM2M=",
Pssh
AAAAgXBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAGEIARIQBy aazy0tQ35V7xd4Rc5OARoVdmVyaW1hdHJpeGNhYmxldmlzaW9u IjByPURBU0g4NDY5NzkyOTE3NTk5MDAzLVRyZW5fZGlub3NhdX Jpb19fSXMmcz05NTAqAlNE
Test Proof of pssh
===========
Widevine Pssh
{
"algorithm":"AESCTR",
"keyIds":["Byaazy0tQ35V7xd4Rc5OAQ=="],
"provider":"verimatrixcablevision",
"contentId":"cj1EQVNIODQ2OTc5MjkxNzU5OTAwMy1UcmVuX 2Rpbm9zYXVyaW9fX0lzJnM9OTUw",
"trackType":"SD"
}
This was the easy part. Enjoy doing the not so easy part
Edit:
You may wish to double check that Lic Server via the Network of Dev tools as I am not 100% it is correct. The pssh is correct though.Last edited by jack_666; 3rd Jan 2022 at 21:00.
-
-
@TonyChocolonely
@jack_666
@codehound
@lomero
Thank you all, I managed to download and decrypt it! -
Hi,
I followed all instructions to download a DRM protected video as in this post, but i get an error.
Does anyone has an idea what i do wrong?
Thnx! in advance
Link to movie off approch:
https://drive.google.com/file/d/1hi2w9RcU7fX9IVlp71OhsY0pcxuVUBPP/view?usp=share_link -
Hi Newbie here. I have searched and have been unable to find in Firefox using Tampermonkey where the EME Logger log file can be found. Could anyone please point me in the right direction.
Thank You -
Developer Tools > Console tab
Look for an entry similar to this:
Code:[EME] MediaKeySession::generateRequest Session ID: (not available) Init Data Type: cenc Init Data: AAAAMnBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAABISED7RgBfvHVK4ud7knv31hls=
Last edited by codehound; 7th Mar 2023 at 18:51.
-
Thanks for the reply codehound I'll investigate further. The Reason I asked about the EME log is to find the full LicenseServer url as in Post #8
Last edited by ringy9; 7th Mar 2023 at 19:43. Reason: added further information
-
Last edited by codehound; 8th Mar 2023 at 15:07.
-
-
Thanks for that codehound. I do as you first suggested and find the Init Data. It is always in the long form so I put into Base64 to Hex. I find the string in the output and then do the reverse Hex to Base 64. I then in Network Filter "lic" and get a couple of results. Check in The Response/Request tabs and then copy. The license information I receive is in a short form and when put into CDRM with PSSH I always get an error "PSSH ERROR unable to parse init data. Any ideas would be most helpful
-
-
it looks like you arent recreating the pssh properly.
you have an extra 00 (in hex) at the start of the pssh.
so, convert that base64 value back to hex, remove the first byte (00) and convert back to base64 and you should get this:
Code:AAAARnBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAACYIARIQ1FSSAosJQvS91Jc+36ZpUiIOS0FZTzE5NTA1Mi1BVkM4AA==
-
Thankyou ElCap for that tip I did get the same after deleting the first byte(00) as you suggested. Tried in CDRM and as originally suspected it doesn't like the licence details "Error 403: {"code":130001,"message":"License denied. There were no valid internal or external entitlements for the user: [__anonymous]"}
This goes back to my first post on how to get the EME logger details as were entered in Post #8 above -
you need to look at the network tab for the license request and see how its doing it.
ie. is the payload data in bytes (looks like garbled data)?
is the response in bytes as well?
are there any authentication headers?
it might not work with cdrm if the license request is georestricted. -
-
copy the authentication header from network tab into the headers box on cdrm
eg.
Code:authorization: tokenblahblah
-
Authorization: Bearer (code)
In the CDRM headers there is already information accept: "*/*"
content-length: "316"
Connection: keep-alive
Does that need to be overwritten? Also at the end of my Authorization code there is other information ? Connection
keep-alive and others which continue to end of page. Does this information need to be copied as well? or just the code? -
I've tried using the word Authorization: Bearer(space) code and get following error code:
Wrong headers: while scanning a simple key in "<unicode string>", line 2, column 1: Bearer eyJraWQiOiI3a0UxeCt4bE5xb ... ^ could not find expected ':' in "<unicode string>", line 3, column 1: ^
CMDR doesn't seem to like anyway I copy it in.
ElCap I thank you for the generous help and will read more on other approaches. -
Similar Threads
-
DRM Live NO, DRM VoD YES.
By d0b in forum Video Streaming DownloadingReplies: 49Last Post: 7th Oct 2021, 15:41 -
Download a DRM video from TV NOW
By Clutter in forum Video Streaming DownloadingReplies: 8Last Post: 6th Jun 2021, 05:11 -
What kind of DRM is this video using?
By dabbdubb in forum Video Streaming DownloadingReplies: 3Last Post: 29th Apr 2021, 10:44 -
Download DRM protected video and decrypt it with a drm licence url
By vikral in forum Video Streaming DownloadingReplies: 9Last Post: 9th Feb 2021, 02:14 -
Need help to get DRM protected video
By rinko in forum Video Streaming DownloadingReplies: 7Last Post: 24th Jan 2021, 09:01