From 6860d0a74afaa3a038f54268f34e2bcf746b8d5a Mon Sep 17 00:00:00 2001 From: lulu <44802077+phoenixthrush@users.noreply.github.com> Date: Sat, 19 Jul 2025 04:50:39 +0200 Subject: [PATCH] Fix 'urllib' has no attribute 'urlparse' --- yt_dlp/extractor/stripchat.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yt_dlp/extractor/stripchat.py b/yt_dlp/extractor/stripchat.py index a8a9daa4b9..99eb2fbfcf 100644 --- a/yt_dlp/extractor/stripchat.py +++ b/yt_dlp/extractor/stripchat.py @@ -1,4 +1,4 @@ -import urllib +import urllib.parse from .common import InfoExtractor @@ -38,7 +38,7 @@ class StripchatIE(InfoExtractor): def _real_extract(self, url): video_id = self._match_id(url) - is_vr = urllib.urlparse(url).hostname == 'vr.stripchat.com' + is_vr = urllib.parse.urlparse(url).hostname == 'vr.stripchat.com' # The API is the same for both VR and non-VR # f'https://vr.stripchat.com/api/vr/v2/models/username/{video_id}'