Spaces:
Sleeping
Sleeping
Upload app.py with huggingface_hub
Browse files556 unmodified lines557558559560561562563556 unmodified linesif r.status_code != 200 or "let p3" not in r.text:proxy_html, proxy_err = await _get_embed_via_allorigins(client, f"{player_domain}/play/tt16366836")results["allorigins_proxy"] = {"success": proxy_html is not None, "error": proxy_err, "has_p3": proxy_html and "let p3" in proxy_html if proxy_html else False}else:# Try hardcoded fallbacktry:r = await client.get("https://piexe411qok.com/play/tt16366836", headers={"User-Agent": UA, "Referer": f"{MOVIELAND_BASE}/"})556 unmodified lines557558559560561562563564565566567568569570571556 unmodified linesif r.status_code != 200 or "let p3" not in r.text:proxy_html, proxy_err = await _get_embed_via_allorigins(client, f"{player_domain}/play/tt16366836")results["allorigins_proxy"] = {"success": proxy_html is not None, "error": proxy_err, "has_p3": proxy_html and "let p3" in proxy_html if proxy_html else False}# Test CDN/playlist domaintry:r = await client.get("https://kayel415jek.com/", headers={"User-Agent": UA}, timeout=5.0)results["cdn_kayel"] = {"status": r.status_code}except Exception as e:results["cdn_kayel"] = {"error": str(e)[:80]}if not player_domain:# Try hardcoded fallbacktry:r = await client.get("https://piexe411qok.com/play/tt16366836", headers={"User-Agent": UA, "Referer": f"{MOVIELAND_BASE}/"})
app.py+9-1