mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 06:35:12 +00:00 
			
		
		
		
	Remove no longer needed compat_str around geturl
This commit is contained in:
		| @@ -6,7 +6,6 @@ import re | ||||
| from .theplatform import ThePlatformBaseIE | ||||
| from ..compat import ( | ||||
|     compat_parse_qs, | ||||
|     compat_str, | ||||
|     compat_urllib_parse_urlparse, | ||||
| ) | ||||
| from ..utils import ( | ||||
| @@ -114,7 +113,7 @@ class MediasetIE(ThePlatformBaseIE): | ||||
|                 continue | ||||
|             urlh = ie._request_webpage( | ||||
|                 embed_url, video_id, note='Following embed URL redirect') | ||||
|             embed_url = compat_str(urlh.geturl()) | ||||
|             embed_url = urlh.geturl() | ||||
|             program_guid = _program_guid(_qs(embed_url)) | ||||
|             if program_guid: | ||||
|                 entries.append(embed_url) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Sergey M․
					Sergey M․