https://github.com/aitschti/scp-streamlink-plugin
A streamlink plugin for Stripchat using a local proxy to decode HLS playlists
https://github.com/aitschti/scp-streamlink-plugin
hls proxy streamlink-plugins
Last synced: 2 months ago
JSON representation
A streamlink plugin for Stripchat using a local proxy to decode HLS playlists
- Host: GitHub
- URL: https://github.com/aitschti/scp-streamlink-plugin
- Owner: aitschti
- Created: 2025-09-03T17:40:04.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-12-17T14:58:39.000Z (6 months ago)
- Last Synced: 2025-12-21T03:07:24.299Z (6 months ago)
- Topics: hls, proxy, streamlink-plugins
- Language: Python
- Homepage:
- Size: 55.7 KB
- Stars: 13
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# StripChatProxied - A Streamlink Plugin
This is a Streamlink plugin for StripChat, integrating a proxy for m3u8 playlist file handling and decoding of scrambled playlist URLs.
## Files
- **stripchat_proxied_v2.py / stripchat_proxy_v2.py**: The recommended v2 proxy implementation. Handles v2 playlist decryption with key matching. Uses `keys.txt` for key storage in `pkey:pdkey` format.
- **keys.txt**: Essential file. Stores key pair in format `pkey:pdkey` (e.g., `Zeec...:ubah...`). The pkey determines which v2 PSCH line to use, pdkey decrypts the segments. Do not ask for keys here!
## Installation
1. Put `stripchat_proxied_v2.py` and `stripchat_proxy_v2.py` in your Streamlink plugins directory.
2. Create a `keys.txt` file in the same directory with format `pkey:pdkey` (e.g., `Zeec...:ubah...`).
## Usage from the command line
Stream on the same machine starting default player
```cmd
streamlink --player-passthrough hls http://localhost:/stripchat/
```
or through http-external command for delivering the stream into your network or other apps on the same machine
```cmd
streamlink --player-external-http http://localhost:/stripchat/
With specific port:
streamlink --player-external-http --player-external-http-port http://localhost:/stripchat/
URL to open:
http://:
```
Instead of the normal stripchat URL plus username, you will be using the proxied URL. `` is the port number to use. You can put any port number you like in there (e.g. 8080), as long as it is not used by another service. The proxy will start automatically in the background when you open the streamlink command. Multiple instances should be possible this way using different ports. `` is your choice of stream quality (e.g. `best`, `worst`, `720p`, etc.), if available. Starting streamlink without quality option, streamlink will show all available qualities as usual.
When using `--player-external-http`, you may need to adjust your firewall settings to allow incoming connections on the specified port `` or the one you see in the command output.
## Notes
- Manual key management - no automatic key fetching. You need to obtain the keys yourself.
- Working and tested on Windows and MacOS, Linux untested
This plugin is for educational purposes only. Use it at your own risk. I am not responsible for any consequences that may arise from using this plugin.