aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDepFA <35278260+dfaker@users.noreply.github.com>2022-08-31 16:40:59 +0100
committerGitHub <noreply@github.com>2022-08-31 21:10:59 +0530
commit76f2bb175d56a8d85001da2b4ee18d790e0948ad (patch)
tree375270201cef01f767307a36519430468b816776
parentf26af78a8ac11d9d617ed31ea5282cfaa5bcbcfa (diff)
downloadhypervideo-pre-76f2bb175d56a8d85001da2b4ee18d790e0948ad.tar.lz
hypervideo-pre-76f2bb175d56a8d85001da2b4ee18d790e0948ad.tar.xz
hypervideo-pre-76f2bb175d56a8d85001da2b4ee18d790e0948ad.zip
[extractor/stripchat] Don't modify input URL (#4781)
Authored by: dfaker
-rw-r--r--yt_dlp/extractor/stripchat.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/yt_dlp/extractor/stripchat.py b/yt_dlp/extractor/stripchat.py
index 7214184bf..2e84729bd 100644
--- a/yt_dlp/extractor/stripchat.py
+++ b/yt_dlp/extractor/stripchat.py
@@ -29,9 +29,7 @@ class StripchatIE(InfoExtractor):
def _real_extract(self, url):
video_id = self._match_id(url)
- webpage = self._download_webpage(
- 'https://stripchat.com/%s/' % video_id, video_id,
- headers=self.geo_verification_headers())
+ webpage = self._download_webpage(url, video_id, headers=self.geo_verification_headers())
data = self._parse_json(
self._search_regex(