Simon a9da585f45 Fix eporner formats serving a decoy clip instead of the real video
Root cause found live: eporner's CDN mp4 URLs enforce a Referer check
independent of the hash/xhr resolution — a request with no Referer or
one pointing at eporner.com gets the real file, but any other Referer
gets a 302 to a static .../na.mp4 ("not available") decoy. Since our
VideoFormat entries declared no http_headers at all, playback fell
through to whatever default Referer the client happened to send,
occasionally tripping this check and showing the short "this video is
only available at eporner.com" clip.

Verified against a live video: fetching a resolved format URL with an
unrelated Referer reproduces the exact na.mp4 redirect; with the
correct Referer it serves the full file. Each format now explicitly
declares Referer: https://www.eporner.com/ so client-side defaults
can't trip the check.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QTqf6orbHZ9rFFpVpcgzcR
2026-09-21 16:11:46 +00:00
2026-05-20 18:25:46 +00:00
2026-04-11 21:45:00 +00:00
2026-05-18 16:52:25 +00:00
2025-05-31 09:28:30 +00:00
2026-06-18 11:24:09 +00:00
2026-06-25 20:53:51 +00:00
2026-06-25 20:53:51 +00:00
2026-09-07 16:10:28 +00:00
2025-06-05 18:50:28 +00:00
2026-01-13 18:13:51 +00:00
2026-08-05 14:24:11 +00:00
2025-09-29 15:15:34 +00:00
2026-03-21 21:27:38 +00:00
2025-07-20 07:50:10 +00:00

hottub

Rust based hottub server

the following URL:

hottub.spacemoehre.de

build it yourself

Get, Build and Host the docker image:

git clone https://gitea.spacemoehre.de/simon/hottub
sudo docker build hottub
cd hottub && cargo build --release
nano docker-compose.yml # adjust compose file
sudo docker compose up -d

Verify setup, replace the url with your setup url

curl -v http://127.0.0.1

->

*   Trying 127.0.0.1:80...
* Connected to 127.0.0.1 (127.0.0.1) port 80
> GET / HTTP/1.1
> Host: 127.0.0.1:80
> User-Agent: curl/8.5.0
> Accept: */*
> 
< HTTP/1.1 302 Found
< content-length: 0
< location: hottub://source?url=127.0.0.1:80
< date: Mon, 29 Sep 2025 14:58:15 GMT
< 
* Connection #0 to host 127.0.0.1 left intact

make sure that you get a code 302 to a hottub:// url

Update via git pull

To Update (i.e. for new supported sites) do

cd /path/to/hottub && git pull && cargo build --release && sudo docker container restart hottub
Description
Rust based hottub server
Readme 9.6 MiB
Languages
Rust 81.6%
Swift 17.6%
Python 0.7%