mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 00:57:07 -05:00 
			
		
		
		
	[spankwire] Fix extraction
This commit is contained in:
		@@ -45,7 +45,7 @@ class SpankwireIE(InfoExtractor):
 | 
			
		||||
            r'<div\s+id="descriptionContent">([^<]+)<',
 | 
			
		||||
            webpage, 'description', fatal=False)
 | 
			
		||||
        thumbnail = self._html_search_regex(
 | 
			
		||||
            r'playerData\.screenShot\s*=\s*"([^"]+)"',
 | 
			
		||||
            r'playerData\.screenShot\s*=\s*["\']([^"\']+)["\']',
 | 
			
		||||
            webpage, 'thumbnail', fatal=False)
 | 
			
		||||
 | 
			
		||||
        uploader = self._html_search_regex(
 | 
			
		||||
@@ -67,7 +67,7 @@ class SpankwireIE(InfoExtractor):
 | 
			
		||||
 | 
			
		||||
        video_urls = list(map(
 | 
			
		||||
            compat_urllib_parse.unquote,
 | 
			
		||||
            re.findall(r'playerData\.cdnPath[0-9]{3,}\s*=\s*"([^"]+)', webpage)))
 | 
			
		||||
            re.findall(r'playerData\.cdnPath[0-9]{3,}\s*=\s*["\']([^"\']+)["\']', webpage)))
 | 
			
		||||
        if webpage.find('flashvars\.encrypted = "true"') != -1:
 | 
			
		||||
            password = self._html_search_regex(
 | 
			
		||||
                r'flashvars\.video_title = "([^"]+)',
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user