Added test
This commit is contained in:
parent
fb106c2091
commit
92a8be2ebf
@ -6,7 +6,7 @@ from ..utils import urljoin
|
||||
|
||||
class YourPornIE(InfoExtractor):
|
||||
_VALID_URL = r'https?://(?:www\.)?yourporn\.sexy/post/(?P<id>[^/?#&.]+)'
|
||||
_TEST = {
|
||||
_TESTS = [{
|
||||
'url': 'https://yourporn.sexy/post/57ffcb2e1179b.html',
|
||||
'md5': '6f8682b6464033d87acaa7a8ff0c092e',
|
||||
'info_dict': {
|
||||
@ -16,7 +16,19 @@ class YourPornIE(InfoExtractor):
|
||||
'thumbnail': r're:^https?://.*\.jpg$',
|
||||
'age_limit': 18
|
||||
},
|
||||
}, {
|
||||
'url': 'https://yourporn.sexy/post/5c2d2fde03bc5.html',
|
||||
'md5': '3b2323fb429d3f559a11b3f22f4754af',
|
||||
'info_dict': {
|
||||
'id': '5c2d2fde03bc5',
|
||||
'ext': 'mp4',
|
||||
'title': 'Busty 7 - Nubile Films (2018) - Chanel Preston, '
|
||||
+ 'Crystal Swift, Jennifer Amton, Shay Evan',
|
||||
'thumbnail': r're:^https?://.*\.jpg$',
|
||||
'age_limit': 18,
|
||||
'duration': 5403
|
||||
}
|
||||
}]
|
||||
|
||||
def _real_extract(self, url):
|
||||
video_id = self._match_id(url)
|
||||
|
Loading…
x
Reference in New Issue
Block a user