mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 14:45:14 +00:00 
			
		
		
		
	[utils] Add parse_qs
				
					
				
			This commit is contained in:
		| @@ -4,13 +4,10 @@ from __future__ import unicode_literals | ||||
| import re | ||||
|  | ||||
| from .theplatform import ThePlatformBaseIE | ||||
| from ..compat import ( | ||||
|     compat_parse_qs, | ||||
|     compat_urllib_parse_urlparse, | ||||
| ) | ||||
| from ..utils import ( | ||||
|     ExtractorError, | ||||
|     int_or_none, | ||||
|     parse_qs, | ||||
|     update_url_query, | ||||
| ) | ||||
|  | ||||
| @@ -96,7 +93,7 @@ class MediasetIE(ThePlatformBaseIE): | ||||
|     @staticmethod | ||||
|     def _extract_urls(ie, webpage): | ||||
|         def _qs(url): | ||||
|             return compat_parse_qs(compat_urllib_parse_urlparse(url).query) | ||||
|             return parse_qs(url) | ||||
|  | ||||
|         def _program_guid(qs): | ||||
|             return qs.get('programGuid', [None])[0] | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 pukkandan
					pukkandan