From: Anant Murmu Date: Sat, 30 Jul 2022 11:35:07 +0000 (+0530) Subject: [extractor/stripchat] Fix _VALID_URL (#4491) X-Git-Tag: 2022.08.08~65 X-Git-Url: https://jfr.im/git/yt-dlp.git/commitdiff_plain/befcac11a0353b4df9ee4015bbabdd6239a6dde1 [extractor/stripchat] Fix _VALID_URL (#4491) Closes https://github.com/yt-dlp/yt-dlp/issues/4486 Authored by: freezboltz --- 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 @@ class StripchatIE(InfoExtractor): - _VALID_URL = r'https?://stripchat\.com/(?P[0-9A-Za-z-_]+)' + _VALID_URL = r'https?://stripchat\.com/(?P[^/?#]+)' _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):