Hello,
I am trying to download from bein Sports Connect (US version). Here is a link to a sample video, it requires a TV provider login which unfortunately I am unable to provide: https://connect-us.beinsports.com/m/MfJjlrSc/dreams-fc-gha-vs-acadmica-do-lobito-ago?r=c9WvRoTi
I extract the pssh from the manifest.mpd file (attached), but pywidevine gives the following error:
unable to parse, unsupported init data format
unable to parse init data
session ID does not exist
What is weird is that pywidevine works on maybe 1 in 10 videos, but the rest return this error. This is not an issue with headers, etc., as the error occurs even before I try to obtain a license. I am taking the pssh directly from the mpd, but somehow pywidevine is unable to parse it.
I have a working CDM, and I am able to pass the correct headers, as evidenced by the fact that I can extract keys for a small subset of videos from this website using the same methods. But most give this error. What gives? Thanks.
		
			+ Reply to Thread
			
		
		
		
			
	
	
				Results 1 to 6 of 6
			
		- 
	
- 
	did you use this pssh in mpd? 
 Code:AAAAjHBzc2gBAAAA7e+LqXnWSs6jyCfc1R0h7QAAAAGEDVzJ+kUjqDFkRRxhWyBqAAAAWCJQbVZVVnEzUE4tTWZKamxyU2MtRG1DTDViMWktMzQ1MDQ5NjZfMzQ1MDQ5NjdfMzQ1MDQ5NjhfMzQ1MDQ5NzFfMzQ1MDQ5NzJfMzQ1MDQ5NzNI49yVmwY= 
- 
	Code:AAAAjHBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAFgiUG1WVVZxM1BOLU1mSmpsclNjLURtQ0w1YjFpLTM0NTA0OTY2XzM0NTA0OTY3XzM0NTA0OTY4XzM0NTA0OTcxXzM0NTA0OTcyXzM0NTA0OTczSOPclZsG 
- 
	
- 
	
- 
	OK I think I got it. Define `pssh` to be whatever the pssh is in the mpd. 
 
 Then:
 
 Plug this new pssh into WvDecrypt and the script returns keys!Code:psshb16 = base64.b16encode(base64.b64decode(pssh)) pssh = base64.b64encode(base64.b16decode(psshb16[:16] + b"00000000EDEF8BA979D64ACEA3C827DCD51D21ED" + psshb16[96:])) 
 
 Edit: And just confirmed that the keys do in fact work (not that that was ever a doubt)
 
 Thanks!Last edited by fhpro; 13th Jan 2024 at 12:13. 
Similar Threads
- 
  pssh helpBy rominhos in forum Video Streaming DownloadingReplies: 14Last Post: 15th Nov 2023, 11:28
- 
  how to get pssh ?By senkron24 in forum Video Streaming DownloadingReplies: 10Last Post: 17th Oct 2023, 11:09
- 
  Different PSSH in mpd, EME logger and PSSH Box GeneratorBy Kevste in forum Video Streaming DownloadingReplies: 4Last Post: 31st May 2023, 23:24
- 
  How to get the PSSH?By Anonymousdk01 in forum Video Streaming DownloadingReplies: 2Last Post: 28th Mar 2023, 11:06
- 
  get psshBy tere1579 in forum Video Streaming DownloadingReplies: 6Last Post: 1st Dec 2022, 23:35


 
		
		 View Profile
				View Profile
			 View Forum Posts
				View Forum Posts
			 Private Message
				Private Message
			 
 
			
			
 Quote
 Quote 
			
