1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-28 21:22:13 +00:00

[eporner] Make test only_matching

This commit is contained in:
Sergey M․ 2016-05-25 20:51:17 +06:00
parent b410cb83d4
commit 6f748df43f
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View file

@ -24,20 +24,10 @@ class EpornerIE(InfoExtractor):
'view_count': int, 'view_count': int,
'age_limit': 18, 'age_limit': 18,
}, },
}, }, {
# New (May 2016) URL layout # New (May 2016) URL layout
{
'url': 'http://www.eporner.com/hd-porn/3YRUtzMcWn0/Star-Wars-XXX-Parody/', 'url': 'http://www.eporner.com/hd-porn/3YRUtzMcWn0/Star-Wars-XXX-Parody/',
'md5': '3469eeaa93b6967a34cdbdbb9d064b33', 'only_matching': True,
'info_dict': {
'id': '3YRUtzMcWn0',
'display_id': 'Star-Wars-XXX-Parody',
'ext': 'mp4',
'title': 'Star Wars XXX Parody',
'duration': 361.0,
'view_count': int,
'age_limit': 18,
},
}] }]
def _real_extract(self, url): def _real_extract(self, url):