VideoHelp Forum


Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!


Try StreamFab Downloader and download streaming video from Youtube, Netflix, Amazon! Download free trial.


+ Reply to Thread
Results 1 to 22 of 22
Thread
  1. Hello. I have downloaded video from VOD TVP. How do I get the key?
    https://vod.tvp.pl/video/allo-allo,odc-1i,36171389
    Quote Quote  
  2. Code:
    --key 2b68c114e55349a0b28f3963998d1f30:071c45d47b45b2c46dbc10fcce698b2a
    It is just normal widevine stuff...except for the irritating ads
    Quote Quote  
  3. Wow! Thanks bro! How do you do it?
    Quote Quote  
  4. Originally Posted by dzimi View Post
    How do you do it?
    Spend a few days reading the threads in this sub-forum to at least get the general idea.
    Quote Quote  
  5. What I'm doing wrong?
    Image Attached Thumbnails Click image for larger version

Name:	getwvkeys.png
Views:	290
Size:	53.8 KB
ID:	65644  

    Last edited by dzimi; 29th Jun 2022 at 14:49.
    Quote Quote  
  6. Originally Posted by dzimi View Post
    What I'm doing wrong?
    Maybe you are missing a header, maybe getwvkeys can't work because site needs VPN/proxy or something.
    Or maybe something else.
    Post link.
    Quote Quote  
  7. Hmm I get wrong ssl version number error or something with scripts and I get 403 on getwvkeys...
    There seems to be a weird and uncomplete header
    X-AxDRM-Message: eyJhbGciOiJIUzI1NiI...

    that might be causing problems

    maybe pkp would care to explain more
    Quote Quote  
  8. lic url
    Code:
    https://www.tvp.pl/sess/widevineProxy.php?key=&video_id=60921246
    headers
    Code:
    X-AxDRM-Message: eyJhbGciOiJIUzI1NiI...
    Code:
    e2f70e0f462e4701b80935b303782b2b:0834d46f93fc69335c8556db635cc349
    Quote Quote  
  9. How do you get the key?
    Quote Quote  
  10. Originally Posted by lomero View Post
    lic url
    Code:
    https://www.tvp.pl/sess/widevineProxy.php?key=&video_id=60921246
    headers
    Code:
    X-AxDRM-Message: eyJhbGciOiJIUzI1NiI...
    Code:
    e2f70e0f462e4701b80935b303782b2b:0834d46f93fc69335c8556db635cc349
    and PSSH?
    Eme finds 3. None of them works.
    Quote Quote  
  11. Originally Posted by [ss]vegeta View Post
    Originally Posted by lomero View Post
    lic url
    Code:
    https://www.tvp.pl/sess/widevineProxy.php?key=&video_id=60921246
    headers
    Code:
    X-AxDRM-Message: eyJhbGciOiJIUzI1NiI...
    Code:
    e2f70e0f462e4701b80935b303782b2b:0834d46f93fc69335c8556db635cc349
    and PSSH?
    Eme finds 3. None of them works.
    works fine for me with standard l3.py for any of the 3 psshs
    Code:
    AAAAO3Bzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAABsIARIQ4vcOD0YuRwG4CTWzA3grKyoFQVVESU8=
    AAAAOHBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAABgIARIQ4vcOD0YuRwG4CTWzA3grKyoCU0Q=
    AAAAOHBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAABgIARIQ4vcOD0YuRwG4CTWzA3grKyoCSEQ=
    maybe try a different vpn server?
    Quote Quote  
  12. Originally Posted by ElCap View Post
    maybe try a different vpn server?
    Yep, it was that, after all.
    Doesn't work with Nord VPN's one server I tried, but works with Windscribe.
    Thanks.
    Quote Quote  
  13. It isn't possible to get the key with getwvkeys?
    Quote Quote  
  14. if you have access to this site, you have also access to server chat
    ask on chat
    Last edited by lomero; 30th Jun 2022 at 15:19.
    Quote Quote  
  15. It isn't possible to get the key with getwvkeys?
    and anyway the answer to your question is no: you need a special script for your site
    Code:
    getwvkeys.py
    
          pywidevine-api 4.1
            from getwvkeys
    
    
    Enter License URL: https://www.tvp.pl/sess/widevineProxy.php?key=&video_id=60921246
    Enter PSSH: AAAAO3Bzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAABsIARIQ4vcOD0YuRwG4CTWzA3grKyoFQVVESU8=
    Enter GetWVKeys API Key: XXX
    usage: getwvkeys.py [-h] [-url URL] [-pssh PSSH] [-auth AUTH] [--verbose]
                        [--cache] [--buildinfo BUILDINFO]
    
    optional arguments:
      -h, --help            show this help message and exit
      -url URL              License URL
      -pssh PSSH            PSSH
      -auth AUTH            GetWVKeys API Key
      --verbose, -v         increase output verbosity
      --cache, -c           Cache On. default is OFF
      --buildinfo BUILDINFO, -b BUILDINFO
                            Buildinfo
    
    --key e2f70e0f462e4701b80935b303782b2b:0834d46f93fc69335c8556db635cc349
    Quote Quote  
  16. It works! Thank you sooo much guys!
    Quote Quote  
  17. Member
    Join Date
    Oct 2021
    Location
    France
    Search Comp PM
    I tried without success to decode a video from the same site.

    https://vod.tvp.pl/programy,88/kolo-fortuny-odcinki,273642/odcinek-1591,S01E1591,389156


    I have tried the key 2b7eae0f3924448eb6d962da2ccfe8a0:d6ca0e7a03ad02d83 0d1fac4c60dac5b but it doesn't work ?

    My method :

    I used this data to obtain the key :
    1. PSSH : AAAAO3Bzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAABsIARIQK3 6uDzkkRI622WLaLM/ooCoFQVVESU8=
    2. licence : https://vod.tvp.pl/api/products/389156/drm/widevine?platform=BROWSER&type=MOVIE
    3. Headers :
    Accept-Encoding: gzip, deflate, br
    Accept-Language: fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7
    API-CorrelationId: client_8c515686-2c63-42e2-a114-d1bd5c865e8f
    Connection: keep-alive
    Content-Length: "1669"
    Host: vod.tvp.pl
    Origin: https://vod.tvp.pl
    Referer: https://vod.tvp.pl/programy,88/kolo-fortuny-odcinki,273642/odcinek-1591,S01E1591,389156
    User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36


    I have also tried to decrypt with the key 1:d6ca0e7a03ad02d830d1fac4c60dac5b

    No success !

    Any idea ?

    (My tools (yt-dlp / mp4decrypt) are OK because I can decrypt video from this drm demo site : https://bitmovin.com/demos/drm).
    Quote Quote  
  18. that key works for me, maybe you downloaded the wrong file?
    this is the manifest url i get
    https://n-22-5.dcs.redcdn.pl/dash/o2/TVP/embeddrm/out/pr00f7ls-odc._1447_ed._12_17f6fe....ism?indexMode
    Quote Quote  
  19. Member
    Join Date
    Oct 2021
    Location
    France
    Search Comp PM
    OK, thanks.

    I understood my mistake !
    I downloaded the video directly with yt-dlp @html adress (because it works with non DRM videos on vod.tvp.pl)

    Code:
    yt-dlp -F https://vod.tvp.pl/programy,88/kolo-fortuny-odcinki,273642/odcinek-1591,S01E1591,389156
    [tvp:vod] Extracting URL: https://vod.tvp.pl/programy,88/kolo-fortuny-odcinki,273642/odcinek-1591,S01E1591,389156
    [tvp:vod] 389156: Downloading JSON metadata
    [tvp:embed] Extracting URL: tvp:65674264
    [tvp:embed] 65674264: Downloading webpage
    [tvp:embed] 65674264: Downloading m3u8 information
    [tvp:embed] 65674264: Downloading ISM manifest
    [info] Available formats for 65674264:
    ID          EXT  RESOLUTION │   FILESIZE   TBR PROTO │ VCODEC        VBR ACODEC     MORE INFO
    ─────────────────────────────────────────────────────────────────────────────────────────────
    hls-aac-pol m3u8 audio only │                  m3u8  │ audio only        unknown    [pol] pol
    direct      ism  unknown    │                  https │ unknown           unknown
    hls-240     mp4  320x180    │ ~ 52.27MiB  240k m3u8  │ avc1.64000c  240k video only
    hls-500     mp4  640x360    │ ~108.89MiB  500k m3u8  │ avc1.64001e  500k video only
    hls-800     mp4  960x540    │ ~174.22MiB  800k m3u8  │ avc1.64001f  800k video only
    hls-1800    mp4  960x540    │ ~391.99MiB 1800k m3u8  │ avc1.64001f 1800k video only
    hls-2800    mp4  1280x720   │ ~609.77MiB 2800k m3u8  │ avc1.64001f 2800k video only
    hls-4800    mp4  1920x1080  │ ~  1.02GiB 4800k m3u8  │ avc1.640028 4800k video only
    So, yt-dlp download the best format : hls-4800 mp4 1920x1080.

    But, when I verify the link on network on chrome, the best format available is only : hls-2800 mp4 1280x720.
    If I look the video from the website, a button permit to change the resolution. 720p is the best resolution available.

    I don't know why yt-dlp download a 1920p version which it doesn't exist apparently.

    So, you need this to download and decrypt :
    Quote Quote  
  20. Originally Posted by mohegan View Post
    I tried without success to decode a video from the same site.

    https://vod.tvp.pl/programy,88/kolo-fortuny-odcinki,273642/odcinek-1591,S01E1591,389156


    I have tried the key 2b7eae0f3924448eb6d962da2ccfe8a0:d6ca0e7a03ad02d83 0d1fac4c60dac5b but it doesn't work ?

    My method :

    I used this data to obtain the key :
    1. PSSH : AAAAO3Bzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAABsIARIQK3 6uDzkkRI622WLaLM/ooCoFQVVESU8=
    2. licence : https://vod.tvp.pl/api/products/389156/drm/widevine?platform=BROWSER&type=MOVIE
    3. Headers :
    Accept-Encoding: gzip, deflate, br
    Accept-Language: fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7
    API-CorrelationId: client_8c515686-2c63-42e2-a114-d1bd5c865e8f
    Connection: keep-alive
    Content-Length: "1669"
    Host: vod.tvp.pl
    Origin: https://vod.tvp.pl
    Referer: https://vod.tvp.pl/programy,88/kolo-fortuny-odcinki,273642/odcinek-1591,S01E1591,389156
    User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36


    I have also tried to decrypt with the key 1:d6ca0e7a03ad02d830d1fac4c60dac5b

    No success !

    Any idea ?

    (My tools (yt-dlp / mp4decrypt) are OK because I can decrypt video from this drm demo site : https://bitmovin.com/demos/drm).
    How do you find the license URL?
    Quote Quote  
  21. Member
    Join Date
    Oct 2021
    Location
    France
    Search Comp PM
    Originally Posted by JSwamie View Post

    How do you find the license URL?
    Just play the video and search "widevine" on the developper tools / network tab !

    For example :
    For https://vod.tvp.pl/programy,88/kolo-fortuny-odcinki,273642/odcinek-1591,S01E1591,389156 the licence url is :
    https://vod.tvp.pl/api/products/389156/drm/widevine?platform=BROWSER&type=MOVIE
    Quote Quote  



Similar Threads

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