VideoHelp Forum



Support our site by donate $5 directly to us Thanks!!!

Try StreamFab Downloader and download streaming video from Netflix, Amazon!



+ Reply to Thread
Page 1 of 2
1 2 LastLast
Results 1 to 30 of 36
  1. Hi Guys,

    I'm trying to download this video with yt-dlp
    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
    I'm kind of newbie, I was able to download the videos some time ago before they were encrypted.

    Any help is appreciated.
    Thanks
    Quote Quote  
  2. 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.
    Quote Quote  
  3. Originally Posted by Goras View Post

    I'm kind of newbie, I was able to download the videos some time ago before they were encrypted.

    Any help is appreciated.
    Thanks
    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 video part

    DL audio part

    Decrypt video part

    Decrypt audio part

    Merge both decrypted parts with ffmpeg
    Quote Quote  
  4. delete
    Last edited by Loryanam2; 3rd Jan 2022 at 10:06.
    Quote Quote  
  5. Thank you both, is the decrypt key present in the mpd? I'm trying to figure out how to get it
    Quote Quote  
  6. 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.
    Quote Quote  
  7. 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).
    Image Attached Files
    Last edited by Goras; 3rd Jan 2022 at 15:48.
    Quote Quote  
  8. @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.
    Quote Quote  
  9. Originally Posted by jack_666 View Post
    @Goras

    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.
    Seems to be correct, here is the key:

    --key 07269acf2d2d437e55ef177845ce4e01:3ffbb692a6ab39978 44dc31e1094f832
    Quote Quote  
  10. @TonyChocolonely
    @jack_666
    @codehound
    @lomero

    Thank you all, I managed to download and decrypt it!
    Quote Quote  
  11. Member
    Join Date
    Mar 2023
    Location
    Europe
    Search PM
    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
    Quote Quote  
  12. Originally Posted by lolv8 View Post
    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?
    VRT needs "adjustments" that you won't find on cdrm-project.com
    Try to get into getwvkeys.cc, you'll find a script there.
    click click2
    If I/my posts ever helped you, and you want to give back, send me a private message!
    Quote Quote  
  13. Member
    Join Date
    Mar 2023
    Location
    Australia
    Search Comp PM
    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
    Quote Quote  
  14. 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=
    There's your pssh value
    Last edited by codehound; 7th Mar 2023 at 18:51.
    Quote Quote  
  15. Member
    Join Date
    Mar 2023
    Location
    Australia
    Search Comp PM
    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
    Quote Quote  
  16. Originally Posted by ringy9 View Post
    The Reason I asked about the EME log is to find the full LicenseServer url as in Post #8
    You find the lic url by typing (one at a time) words like lic wv auth drm in the Filter Url box of the Dev Tools > Network tab.

    Type the word in, then Refresh page (F5 on keyboard) , play the video and look for the first POST method entry.
    Last edited by codehound; 8th Mar 2023 at 15:07.
    Quote Quote  
  17. Member
    Join Date
    Mar 2023
    Location
    Europe
    Search PM
    Originally Posted by [ss]vegeta View Post
    Originally Posted by lolv8 View Post
    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?
    VRT needs "adjustments" that you won't find on cdrm-project.com
    Try to get into getwvkeys.cc, you'll find a script there.
    Still waiting to be verified
    Any alternative to getwvkeys.cc ?
    Quote Quote  
  18. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Originally Posted by lolv8 View Post

    Still waiting to be verified
    Any alternative to getwvkeys.cc ?
    PM sent.
    Quote Quote  
  19. Member
    Join Date
    Mar 2023
    Location
    Australia
    Search Comp PM
    Originally Posted by codehound View Post
    Originally Posted by ringy9 View Post
    The Reason I asked about the EME log is to find the full LicenseServer url as in Post #8
    You find the lic url by typing (one at a time) words like lic wv auth drm in the Filter Url box of the Dev Tools > Network tab.

    Type the word in, then Refresh page (F5 on keyboard) , play the video and look for the first POST method entry.
    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
    Quote Quote  
  20. What pssh value are you getting?
    Quote Quote  
  21. Member
    Join Date
    Mar 2023
    Location
    Australia
    Search Comp PM
    Originally Posted by ElCap View Post
    What pssh value are you getting?
    El Cap this is my result AAAAAEZwc3NoAAAAAO3vi6l51krOo8gn3NUdIe0AAAAmCAESEN RUkgKLCUL0vdSXPt+maVIiDktBWU8xOTUwNTItQVZDOAA=
    Quote Quote  
  22. 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==
    Quote Quote  
  23. Member
    Join Date
    Mar 2023
    Location
    Australia
    Search Comp PM
    Originally Posted by ElCap View Post
    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
    Quote Quote  
  24. 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.
    Quote Quote  
  25. Member
    Join Date
    Mar 2023
    Location
    Australia
    Search Comp PM
    Originally Posted by ElCap View Post
    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.
    Payload Data in bytes (yes) Response in bytes (looks like a code more than garbled data)

    Authentication Headers (Yes, but no idea how to use? There's RAW Button next to Response and Request Headers)

    Thank you all for your generous help
    Quote Quote  
  26. copy the authentication header from network tab into the headers box on cdrm
    eg.
    Code:
    authorization: tokenblahblah
    Quote Quote  
  27. Member
    Join Date
    Mar 2023
    Location
    Australia
    Search Comp PM
    Originally Posted by ElCap View Post
    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?
    Quote Quote  
  28. Delete all the existing stuff and try with just the authorization header
    Quote Quote  
  29. Member
    Join Date
    Mar 2023
    Location
    Australia
    Search Comp PM
    Originally Posted by ElCap View Post
    Delete all the existing stuff and try with just the authorization header
    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.
    Quote Quote  
  30. Originally Posted by ringy9 View Post
    Originally Posted by ElCap View Post
    Delete all the existing stuff and try with just the authorization header
    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: ^
    sorry to interfere, but if it is not a subscription site , can you please provide a link for it ?
    Quote Quote  



Similar Threads

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