[yourporn] added tests

This commit is contained in:
schn0sch 2020-12-27 21:27:21 +01:00
parent 7907e765bf
commit cbaa856993

View File

@ -24,9 +24,23 @@ class YourPornIE(InfoExtractor):
'params': { 'params': {
'skip_download': True, 'skip_download': True,
}, },
}, {
'url': 'https://sxyprn.com/post/5acfc82b12d00.html',
'md5': '1df93ede16d87685aa069f56ac69b0e7',
'info_dict': {
'id': '5acfc82b12d00',
'ext': 'mp4',
'title': 'Girls Do Porn E157 The Mormon Girl this should be in HD... #GirlsDoPorn #GDP #BigTits #casting',
'thumbnail': r're:^https?://.*\.jpg$',
'duration': 2466,
'age_limit': 18,
},
}, { }, {
'url': 'https://sxyprn.com/post/57ffcb2e1179b.html', 'url': 'https://sxyprn.com/post/57ffcb2e1179b.html',
'only_matching': True, 'only_matching': True,
}, {
'url': 'https://sxyprn.com/post/5af15f6799de9.html',
'only_matching': True,
}] }]
def _real_extract(self, url): def _real_extract(self, url):