Browse Source

[eporner] Make test only_matching

totalwebcasting
Sergey M․ 9 years ago
parent
commit
6f748df43f
No known key found for this signature in database GPG Key ID: 2C393E0F18A9236D
1 changed files with 3 additions and 13 deletions
  1. +3
    -13
      youtube_dl/extractor/eporner.py

+ 3
- 13
youtube_dl/extractor/eporner.py 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',
'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,
},
'only_matching': True,
}] }]
def _real_extract(self, url): def _real_extract(self, url):


Loading…
Cancel
Save