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 .yahoo import YahooIE | ||||
| from ..compat import ( | ||||
|     compat_parse_qs, | ||||
|     compat_urllib_parse_urlparse, | ||||
| ) | ||||
| from ..utils import ( | ||||
|     ExtractorError, | ||||
|     int_or_none, | ||||
|     parse_qs, | ||||
|     url_or_none, | ||||
| ) | ||||
|  | ||||
| @@ -119,7 +116,7 @@ class AolIE(YahooIE): | ||||
|                         'height': int(mobj.group(2)), | ||||
|                     }) | ||||
|                 else: | ||||
|                     qs = compat_parse_qs(compat_urllib_parse_urlparse(video_url).query) | ||||
|                     qs = parse_qs(video_url) | ||||
|                     f.update({ | ||||
|                         'width': int_or_none(qs.get('w', [None])[0]), | ||||
|                         'height': int_or_none(qs.get('h', [None])[0]), | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 pukkandan
					pukkandan