Repository: yt-dlp/yt-dlp

Issue:
Stripchat: Error: No active streams found
### DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

- [X] I understand that I will be **blocked** if I *intentionally* remove or skip any mandatory\* field

### Checklist

- [X] I'm reporting that yt-dlp is broken on a **supported** site
- [X] I've verified that I'm running yt-dlp version **2023.03.04** ([update instructions](https://github.com/yt-dlp/yt-dlp#update)) or later (specify commit)
- [X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
- [X] I've checked that all URLs and arguments with special characters are [properly quoted or escaped](https://github.com/yt-dlp/yt-dlp/wiki/FAQ#video-url-contains-an-ampersand--and-im-getting-some-strange-output-1-2839-or-v-is-not-recognized-as-an-internal-or-external-command)
- [X] I've searched [known issues](https://github.com/yt-dlp/yt-dlp/issues/3766) and the [bugtracker](https://github.com/yt-dlp/yt-dlp/issues?q=) for similar issues **including closed ones**. DO NOT post duplicates
- [X] I've read the [guidelines for opening an issue](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#opening-an-issue)
- [X] I've read about [sharing account credentials](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#are-you-willing-to-share-account-details-if-needed) and I'm willing to share it if required

### Region

UK

### Provide a description that is worded well enough to be understood

I've been trying all day to download streams but none are downloading.

C:\Program Files (x86)\WM Recorder-2\WM Recorder YT-2>TITLE WMDownload (1) 3

C:\Program Files (x86)\WM Recorder-2\WM Recorder YT-2>"C:\Users\User\AppData\Roaming\WM Recorder YT-DLP"\youtube-dl -o "C:\Users\User\Videos\WMR Recordings\Playlist Folders\WMR Recordings\13-%(title)s.%(ext)s"  --no-part --no-check-certificate -f best  --ignore-errors --ffmpeg-location "C:\Program Files (x86)\WM Recorder-2\WM Recorder YT-2\WM Converter Pro" "https://stripchat.com/Sunshine_Girll"
WARNING: "-f best" selects the best pre-merged format which is often not the best option.
         To let yt-dlp download and merge the best available formats, simply do not pass any format selection.
         If you know what you are doing and want only the best pre-merged format, use "-f b" instead to suppress this warning
[Stripchat] Extracting URL: https://stripchat.com/Sunshine_Girll
[Stripchat] Sunshine_Girll: Downloading webpage
ERROR: [Stripchat] Sunshine_Girll: Unable to find configuration for stream.; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U

C:\Program Files (x86)\WM Recorder-2\WM Recorder YT-2>pause
Press any key to continue . . .


### Provide verbose output that clearly demonstrates the problem

- [X] Run **your** yt-dlp command with **-vU** flag added (`yt-dlp -vU <your command line>`)
- [ ] If using API, add `'verbose': True` to `YoutubeDL` params instead
- [X] Copy the WHOLE output (starting with `[debug] Command-line config`) and insert it below

### Complete Verbose Output

```shell
C:\Program Files (x86)\WM Recorder-2\WM Recorder YT-2>TITLE WMDownload (1) 3

C:\Program Files (x86)\WM Recorder-2\WM Recorder YT-2>"C:\Users\User\AppData\Roaming\WM Recorder YT-DLP"\youtube-dl -o "C:\Users\User\Videos\WMR Recordings\Playlist Folders\WMR Recordings\13-%(title)s.%(ext)s"  --no-part --no-check-certificate -f best  --ignore-errors --ffmpeg-location "C:\Program Files (x86)\WM Recorder-2\WM Recorder YT-2\WM Converter Pro" "https://stripchat.com/Sunshine_Girll"
WARNING: "-f best" selects the best pre-merged format which is often not the best option.
         To let yt-dlp download and merge the best available formats, simply do not pass any format selection.
         If you know what you are doing and want only the best pre-merged format, use "-f b" instead to suppress this warning
[Stripchat] Extracting URL: https://stripchat.com/Sunshine_Girll
[Stripchat] Sunshine_Girll: Downloading webpage
ERROR: [Stripchat] Sunshine_Girll: Unable to find configuration for stream.; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U

C:\Program Files (x86)\WM Recorder-2\WM Recorder YT-2>pause
Press any key to continue . . .
```



Discussion:
your log and your title are reporting 2 different errors. please add `-v` to your command and run again and post the complete output here
Also, you posted a tiny incomplete log, and still didn't even bother reading it 🤦

Resolving patch:
diff --git a/yt_dlp/extractor/stripchat.py b/yt_dlp/extractor/stripchat.py
--- a/yt_dlp/extractor/stripchat.py
+++ b/yt_dlp/extractor/stripchat.py
@@ -42,14 +42,13 @@ def _real_extract(self, url):
         elif not traverse_obj(data, ('viewCam', 'model', 'isLive'), expected_type=bool):
             raise UserNotLive(video_id=video_id)
 
-        server = traverse_obj(data, ('viewCam', 'viewServers', 'flashphoner-hls'), expected_type=str)
         model_id = traverse_obj(data, ('viewCam', 'model', 'id'), expected_type=int)
 
         formats = []
         for host in traverse_obj(data, ('config', 'data', (
                 (('features', 'featuresV2'), 'hlsFallback', 'fallbackDomains', ...), 'hlsStreamHost'))):
             formats = self._extract_m3u8_formats(
-                f'https://b-{server}.{host}/hls/{model_id}/master/{model_id}_auto.m3u8',
+                f'https://edge-hls.{host}/hls/{model_id}/master/{model_id}_auto.m3u8',
                 video_id, ext='mp4', m3u8_id='hls', fatal=False, live=True)
             if formats:
                 break


Test patch: