mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-11-04 00:25:15 +00:00 
			
		
		
		
	[urplay] fix typo and check with flake8
This commit is contained in:
		@@ -22,7 +22,7 @@ class URPlayIE(InfoExtractor):
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        webpage = self._download_webpage(url, video_id)
 | 
					        webpage = self._download_webpage(url, video_id)
 | 
				
			||||||
        urplayer_data = self._parse_json(self._search_regex(
 | 
					        urplayer_data = self._parse_json(self._search_regex(
 | 
				
			||||||
            r'urPlayer.init\(({.+?})\);', webpage, 'urplayer data'), video_id)
 | 
					            r'urPlayer\.init\(({.+?})\);', webpage, 'urplayer data'), video_id)
 | 
				
			||||||
        host = self._download_json('http://streaming-loadbalancer.ur.se/loadbalancer.json', video_id)['redirect']
 | 
					        host = self._download_json('http://streaming-loadbalancer.ur.se/loadbalancer.json', video_id)['redirect']
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        formats = []
 | 
					        formats = []
 | 
				
			||||||
@@ -64,4 +64,4 @@ class URPlayIE(InfoExtractor):
 | 
				
			|||||||
            'series': urplayer_data.get('series_title'),
 | 
					            'series': urplayer_data.get('series_title'),
 | 
				
			||||||
            'subtitles': subtitles,
 | 
					            'subtitles': subtitles,
 | 
				
			||||||
            'formats': formats,
 | 
					            'formats': formats,
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user