mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-29 15:50:46 +00:00
[eporner] Make test only_matching
This commit is contained in:
parent
b410cb83d4
commit
6f748df43f
1 changed files with 3 additions and 13 deletions
|
@ -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):
|
||||||
|
|
Loading…
Reference in a new issue