mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-03 20:37:08 -05:00 
			
		
		
		
	[douyutv] Fix tests
This commit is contained in:
		@@ -18,7 +18,7 @@ class DouyuTVIE(InfoExtractor):
 | 
			
		||||
            'display_id': 'iseven',
 | 
			
		||||
            'ext': 'flv',
 | 
			
		||||
            'title': 're:^清晨醒脑!T-ara根本停不下来! [0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}$',
 | 
			
		||||
            'description': 'md5:c93d6692dde6fe33809a46edcbecca44',
 | 
			
		||||
            'description': 'md5:f34981259a03e980a3c6404190a3ed61',
 | 
			
		||||
            'thumbnail': 're:^https?://.*\.jpg$',
 | 
			
		||||
            'uploader': '7师傅',
 | 
			
		||||
            'uploader_id': '431925',
 | 
			
		||||
@@ -26,7 +26,7 @@ class DouyuTVIE(InfoExtractor):
 | 
			
		||||
        },
 | 
			
		||||
        'params': {
 | 
			
		||||
            'skip_download': True,
 | 
			
		||||
        }
 | 
			
		||||
        },
 | 
			
		||||
    }, {
 | 
			
		||||
        'url': 'http://www.douyutv.com/85982',
 | 
			
		||||
        'info_dict': {
 | 
			
		||||
@@ -42,7 +42,24 @@ class DouyuTVIE(InfoExtractor):
 | 
			
		||||
        },
 | 
			
		||||
        'params': {
 | 
			
		||||
            'skip_download': True,
 | 
			
		||||
        }
 | 
			
		||||
        },
 | 
			
		||||
        'skip': 'Romm not found',
 | 
			
		||||
    }, {
 | 
			
		||||
        'url': 'http://www.douyutv.com/17732',
 | 
			
		||||
        'info_dict': {
 | 
			
		||||
            'id': '17732',
 | 
			
		||||
            'display_id': '17732',
 | 
			
		||||
            'ext': 'flv',
 | 
			
		||||
            'title': 're:^清晨醒脑!T-ara根本停不下来! [0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}$',
 | 
			
		||||
            'description': 'md5:f34981259a03e980a3c6404190a3ed61',
 | 
			
		||||
            'thumbnail': 're:^https?://.*\.jpg$',
 | 
			
		||||
            'uploader': '7师傅',
 | 
			
		||||
            'uploader_id': '431925',
 | 
			
		||||
            'is_live': True,
 | 
			
		||||
        },
 | 
			
		||||
        'params': {
 | 
			
		||||
            'skip_download': True,
 | 
			
		||||
        },
 | 
			
		||||
    }]
 | 
			
		||||
 | 
			
		||||
    def _real_extract(self, url):
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user