From 61994a77e6eefaf6a38a647e86cca6d08ed3a3e1 Mon Sep 17 00:00:00 2001 From: lulu <44802077+phoenixthrush@users.noreply.github.com> Date: Sat, 19 Jul 2025 04:55:43 +0200 Subject: [PATCH] Use b-hls-20 as Host --- yt_dlp/extractor/stripchat.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/yt_dlp/extractor/stripchat.py b/yt_dlp/extractor/stripchat.py index 99eb2fbfc..7d6b17444 100644 --- a/yt_dlp/extractor/stripchat.py +++ b/yt_dlp/extractor/stripchat.py @@ -49,8 +49,9 @@ class StripchatIE(InfoExtractor): model_id = api_json.get('streamName') # Contains 'eu23', for example, with server '20' as the fallback - host_str = api_json.get('model', {}).get('broadcastServer', '') - host = ''.join([c for c in host_str if c.isdigit()]) or 20 + # host_str = api_json.get('model', {}).get('broadcastServer', '') + # host = ''.join([c for c in host_str if c.isdigit()]) or 20 + host = 20 if is_vr: base_url = f'https://media-hls.doppiocdn.net/b-hls-{host}/{model_id}_vr/{model_id}_vr'