mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 06:35:12 +00:00 
			
		
		
		
	The opening curly brace { is a regex reserved [control character](http://stackoverflow.com/a/400316/1106367), so it needs to be escaped.
				
					
				
			This commit is contained in:
		| @@ -83,7 +83,7 @@ class GroovesharkIE(InfoExtractor): | ||||
|         return compat_urlparse.urlunparse((uri.scheme, uri.netloc, obj['attrs']['data'], None, None, None)) | ||||
|  | ||||
|     def _transform_bootstrap(self, js): | ||||
|         return re.split('(?m)^\s*try\s*{', js)[0] \ | ||||
|         return re.split('(?m)^\s*try\s*\{', js)[0] \ | ||||
|                  .split(' = ', 1)[1].strip().rstrip(';') | ||||
|  | ||||
|     def _transform_meta(self, js): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 codesparkle
					codesparkle