mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 06:35:12 +00:00 
			
		
		
		
	[twitcasting] Enforce UTF-8 for POST payload (#2521)
Authored by: Lesmiscore
This commit is contained in:
		 Lesmiscore (Naoya Ozaki)
					Lesmiscore (Naoya Ozaki)
				
			
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			 GitHub
						GitHub
					
				
			
						parent
						
							af5c1c553e
						
					
				
				
					commit
					5a13fdd225
				
			| @@ -85,7 +85,7 @@ class TwitCastingIE(InfoExtractor): | ||||
|         if video_password: | ||||
|             request_data = urlencode_postdata({ | ||||
|                 'password': video_password, | ||||
|             }) | ||||
|             }, encoding='utf-8') | ||||
|         webpage = self._download_webpage( | ||||
|             url, video_id, data=request_data, | ||||
|             headers={'Origin': 'https://twitcasting.tv'}) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user