mirror of
https://github.com/ytdl-org/youtube-dl
synced 2025-04-13 10:34:50 +09:00
Fixed test
This commit is contained in:
parent
3e92da141d
commit
92fa1c553e
@ -26,7 +26,7 @@ class SxyPrnIE(InfoExtractor):
|
||||
'uploader_id': 'SmokeCrumb',
|
||||
'uploader_url': 'https://sxyprn.com/blog/608a6b540ee7b/0.html',
|
||||
'actors': [{'given_name': 'Nicole Love'}, {'given_name': 'Cindy Shine'}],
|
||||
'views': 0,
|
||||
'views': int,
|
||||
},
|
||||
'params': {
|
||||
'skip_download': True,
|
||||
@ -72,7 +72,6 @@ class SxyPrnIE(InfoExtractor):
|
||||
'given_name': name
|
||||
})
|
||||
views = int(self._search_regex(r'<div class=\'post_control_time\'>.+?</strong> (?P<views>.+) views</div>', webpage, 'views', group='views'))
|
||||
self._TESTS[0]['info_dict']['views'] = views
|
||||
|
||||
return {
|
||||
'id': video_id,
|
||||
|
Loading…
x
Reference in New Issue
Block a user