mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 14:45:14 +00:00 
			
		
		
		
	[generic] Add comment for unescaping webpage contents
This commit is contained in:
		| @@ -291,6 +291,9 @@ class GenericIE(InfoExtractor): | |||||||
|         except compat_xml_parse_error: |         except compat_xml_parse_error: | ||||||
|             pass |             pass | ||||||
|  |  | ||||||
|  |         # Sometimes embedded video player is hidden behind percent encoding | ||||||
|  |         # (e.g. https://github.com/rg3/youtube-dl/issues/2448) | ||||||
|  |         # Unescaping the whole page allows to handle those cases in a generic way | ||||||
|         webpage = compat_urllib_parse.unquote(webpage) |         webpage = compat_urllib_parse.unquote(webpage) | ||||||
|  |  | ||||||
|         # it's tempting to parse this further, but you would |         # it's tempting to parse this further, but you would | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Sergey M․
					Sergey M․