mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-03 18:47:06 -05:00 
			
		
		
		
	[spankwire] Fixed uploader_id field extraction so that test case passes
This commit is contained in:
		@@ -54,7 +54,7 @@ class SpankwireIE(InfoExtractor):
 | 
			
		||||
            r'by:\s*<a [^>]*>(.+?)</a>',
 | 
			
		||||
            webpage, 'uploader', fatal=False)
 | 
			
		||||
        uploader_id = self._html_search_regex(
 | 
			
		||||
            r'by:\s*<a href="/Profile\.aspx\?.*?UserId=(\d+).*?"',
 | 
			
		||||
            r'by:\s*<a href="/user/viewProfile\?.*?UserId=(\d+).*?"',
 | 
			
		||||
            webpage, 'uploader id', fatal=False)
 | 
			
		||||
        upload_date = unified_strdate(self._html_search_regex(
 | 
			
		||||
            r'</a> on (.+?) at \d+:\d+',
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user