diff options
author | Anant Murmu <58996975+freezboltz@users.noreply.github.com> | 2022-07-30 17:05:07 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-30 17:05:07 +0530 |
commit | befcac11a0353b4df9ee4015bbabdd6239a6dde1 (patch) | |
tree | 9872743ae05145fd0968c73e1f9f8a082530ce70 | |
parent | 7f71cee020c429983d75a3937cd2efbb797e4d72 (diff) | |
download | hypervideo-pre-befcac11a0353b4df9ee4015bbabdd6239a6dde1.tar.lz hypervideo-pre-befcac11a0353b4df9ee4015bbabdd6239a6dde1.tar.xz hypervideo-pre-befcac11a0353b4df9ee4015bbabdd6239a6dde1.zip |
[extractor/stripchat] Fix _VALID_URL (#4491)
Closes https://github.com/yt-dlp/yt-dlp/issues/4486
Authored by: freezboltz
-rw-r--r-- | yt_dlp/extractor/stripchat.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/yt_dlp/extractor/stripchat.py b/yt_dlp/extractor/stripchat.py index a7c7b0649..7214184bf 100644 --- a/yt_dlp/extractor/stripchat.py +++ b/yt_dlp/extractor/stripchat.py @@ -10,7 +10,7 @@ from ..utils import ( class StripchatIE(InfoExtractor): - _VALID_URL = r'https?://stripchat\.com/(?P<id>[0-9A-Za-z-_]+)' + _VALID_URL = r'https?://stripchat\.com/(?P<id>[^/?#]+)' _TESTS = [{ 'url': 'https://stripchat.com/feel_me', 'info_dict': { @@ -22,6 +22,9 @@ class StripchatIE(InfoExtractor): 'age_limit': 18, }, 'skip': 'Room is offline', + }, { + 'url': 'https://stripchat.com/Rakhijaan@xh', + 'only_matching': True }] def _real_extract(self, url): |