mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-28 17:41:01 +01:00
[pornflip] Extend _VALID_URL (closes #14405)
This commit is contained in:
parent
ac93c09ab2
commit
2e2a8e97d5
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
|
|
||||||
class PornFlipIE(InfoExtractor):
|
class PornFlipIE(InfoExtractor):
|
||||||
_VALID_URL = r'https?://(?:www\.)?pornflip\.com/(?:v|embed)/(?P<id>[0-9A-Za-z]{11})'
|
_VALID_URL = r'https?://(?:www\.)?pornflip\.com/(?:v|embed)/(?P<id>[0-9A-Za-z-]{11})'
|
||||||
_TESTS = [{
|
_TESTS = [{
|
||||||
'url': 'https://www.pornflip.com/v/wz7DfNhMmep',
|
'url': 'https://www.pornflip.com/v/wz7DfNhMmep',
|
||||||
'md5': '98c46639849145ae1fd77af532a9278c',
|
'md5': '98c46639849145ae1fd77af532a9278c',
|
||||||
@ -34,6 +34,12 @@ class PornFlipIE(InfoExtractor):
|
|||||||
}, {
|
}, {
|
||||||
'url': 'https://www.pornflip.com/embed/wz7DfNhMmep',
|
'url': 'https://www.pornflip.com/embed/wz7DfNhMmep',
|
||||||
'only_matching': True,
|
'only_matching': True,
|
||||||
|
}, {
|
||||||
|
'url': 'https://www.pornflip.com/v/EkRD6-vS2-s',
|
||||||
|
'only_matching': True,
|
||||||
|
}, {
|
||||||
|
'url': 'https://www.pornflip.com/embed/EkRD6-vS2-s',
|
||||||
|
'only_matching': True,
|
||||||
}]
|
}]
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
|
Loading…
Reference in New Issue
Block a user