mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 14:45:14 +00:00 
			
		
		
		
	[ie, cleanup] No from stdlib imports in extractors (#8978)
				
					
				
			This commit is contained in:
		| @@ -1,5 +1,5 @@ | ||||
| import re | ||||
| from uuid import uuid4 | ||||
| import uuid | ||||
| 
 | ||||
| from .common import InfoExtractor | ||||
| from ..compat import compat_str | ||||
| @@ -53,7 +53,7 @@ class ZattooPlatformBaseIE(InfoExtractor): | ||||
|         self._request_webpage( | ||||
|             '%s/zapi/v3/session/hello' % self._host_url(), None, | ||||
|             'Opening session', data=urlencode_postdata({ | ||||
|                 'uuid': compat_str(uuid4()), | ||||
|                 'uuid': compat_str(uuid.uuid4()), | ||||
|                 'lang': 'en', | ||||
|                 'app_version': '1.8.2', | ||||
|                 'format': 'json', | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 pukkandan
					pukkandan