goon/app/extractors
jtrzupek d4c4b79e92 fix(kvs): cap get_file timeout + early-break on dead scenes
Bug 6ec1960e: yespornvip "resolving forever". yesporn.vip moved to a
cdn4/remote_control.php CDN (still portable cross-IP — verified 206 from a
residential IP, so backend resolve stays correct). But when a video is removed
from the CDN the page still exists and each get_file 302-follow STALLS to the
full timeout. With the resolve timeout (60s) applied per quality variant, a dead
scene hung 3x60 = 180s and returned nothing -> the mobile resolve spinner never
ended.

Fix: a dedicated low get_file timeout (10s, separate from the page-fetch
timeout) and an early-break once 2 variants fail with no result so far (the
scene is dead on the CDN — no point waiting for the third). Dead scene now
resolves to None in ~20s instead of 180s; a live scene is unaffected (~0.8s,
3 sources). Applies to all KVS tubes (yespornvip + pornditt).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-02 21:33:05 +02:00
..
hosters fix(extractors): mixdrop hardening, yespornvip extractor, freshporno revert 2026-05-28 23:23:37 +02:00
tubes fix(kvs): cap get_file timeout + early-break on dead scenes 2026-06-02 21:33:05 +02:00
__init__.py extractors: keep freshporno/porn00/pornxp/fpoxxx on WebView (IP-bound CDN) 2026-06-01 10:55:44 +02:00
_fetch.py Initial commit 2026-05-20 10:10:22 +02:00
_models.py Initial commit 2026-05-20 10:10:22 +02:00
duration_extract.py Initial commit 2026-05-20 10:10:22 +02:00
hoster.py fix(extractors): mixdrop hardening, yespornvip extractor, freshporno revert 2026-05-28 23:23:37 +02:00
iframe_pick.py Initial commit 2026-05-20 10:10:22 +02:00
tag_extract.py Initial commit 2026-05-20 10:10:22 +02:00
thumb_extract.py Initial commit 2026-05-20 10:10:22 +02:00