mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-30 22:25:19 +00:00 
			
		
		
		
	[twitch] Fix non-ASCII logins/passwords on python 2
This commit is contained in:
		| @@ -64,8 +64,8 @@ class TwitchBaseIE(InfoExtractor): | ||||
|             login_page)) | ||||
|  | ||||
|         login_form.update({ | ||||
|             'login': username, | ||||
|             'password': password, | ||||
|             'login': username.encode('utf-8'), | ||||
|             'password': password.encode('utf-8'), | ||||
|         }) | ||||
|  | ||||
|         request = compat_urllib_request.Request( | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Sergey M․
					Sergey M․