mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 06:35:12 +00:00 
			
		
		
		
	Use urlencode_postdata across the codebase
This commit is contained in:
		| @@ -15,6 +15,7 @@ from ..utils import ( | ||||
|     sanitized_Request, | ||||
|     smuggle_url, | ||||
|     unsmuggle_url, | ||||
|     urlencode_postdata, | ||||
| ) | ||||
|  | ||||
|  | ||||
| @@ -174,7 +175,7 @@ class DCNSeasonIE(InfoExtractor): | ||||
|         data['show_id'] = show_id | ||||
|         request = sanitized_Request( | ||||
|             'http://admin.mangomolo.com/analytics/index.php/plus/show', | ||||
|             compat_urllib_parse_urlencode(data), | ||||
|             urlencode_postdata(data), | ||||
|             { | ||||
|                 'Origin': 'http://www.dcndigital.ae', | ||||
|                 'Content-Type': 'application/x-www-form-urlencoded' | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Sergey M․
					Sergey M․