mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-11-04 00:25:15 +00:00 
			
		
		
		
	[ie/npo] Send POST request to streams API endpoint (#8413)
				
					
				
			Closes #6398 Authored by: bartbroere
This commit is contained in:
		@@ -245,7 +245,7 @@ class NPOIE(InfoExtractor):
 | 
				
			|||||||
                    'quality': 'npoplus',
 | 
					                    'quality': 'npoplus',
 | 
				
			||||||
                    'tokenId': player_token,
 | 
					                    'tokenId': player_token,
 | 
				
			||||||
                    'streamType': 'broadcast',
 | 
					                    'streamType': 'broadcast',
 | 
				
			||||||
                })
 | 
					                }, data=b'')  # endpoint requires POST
 | 
				
			||||||
            if not streams:
 | 
					            if not streams:
 | 
				
			||||||
                continue
 | 
					                continue
 | 
				
			||||||
            stream = streams.get('stream')
 | 
					            stream = streams.get('stream')
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user