mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-07 20:30:41 -05:00
[extractor/stripchat] Fix _VALID_URL (#4491)
Closes https://github.com/yt-dlp/yt-dlp/issues/4486 Authored by: freezboltz
This commit is contained in:
parent
7f71cee020
commit
befcac11a0
1 changed files with 4 additions and 1 deletions
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
|
|
||||||
class StripchatIE(InfoExtractor):
|
class StripchatIE(InfoExtractor):
|
||||||
_VALID_URL = r'https?://stripchat\.com/(?P<id>[0-9A-Za-z-_]+)'
|
_VALID_URL = r'https?://stripchat\.com/(?P<id>[^/?#]+)'
|
||||||
_TESTS = [{
|
_TESTS = [{
|
||||||
'url': 'https://stripchat.com/feel_me',
|
'url': 'https://stripchat.com/feel_me',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
|
@ -22,6 +22,9 @@ class StripchatIE(InfoExtractor):
|
||||||
'age_limit': 18,
|
'age_limit': 18,
|
||||||
},
|
},
|
||||||
'skip': 'Room is offline',
|
'skip': 'Room is offline',
|
||||||
|
}, {
|
||||||
|
'url': 'https://stripchat.com/Rakhijaan@xh',
|
||||||
|
'only_matching': True
|
||||||
}]
|
}]
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
|
|
Loading…
Reference in a new issue