mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 05:37:07 -05:00 
			
		
		
		
	[ok] Improve player regex
This commit is contained in:
		@@ -59,7 +59,8 @@ class OdnoklassnikiIE(InfoExtractor):
 | 
			
		||||
 | 
			
		||||
        player = self._parse_json(
 | 
			
		||||
            unescapeHTML(self._search_regex(
 | 
			
		||||
                r'data-options="([^"]+%s[^"]+)"' % video_id, webpage, 'player')),
 | 
			
		||||
                r'data-options=(?P<quote>["\'])(?P<player>{.+?%s.+?})(?P=quote)' % video_id,
 | 
			
		||||
                webpage, 'player', group='player')),
 | 
			
		||||
            video_id)
 | 
			
		||||
 | 
			
		||||
        flashvars = player['flashvars']
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user