Skip to content

A feature-rich command-line audio/video downloader

[extractor/stripchat] Fix _VALID_URL (#4491)

Anant Murmubefcac11a035
diff --git a/yt_dlp/extractor/stripchat.py b/yt_dlp/extractor/stripchat.py
index a7c7b06496..7214184bfc 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):