mirror of
https://github.com/Shineii86/MiruroAPI.git
synced 2026-10-22 18:25:11 +00:00
- pipe.js: add premium=true to ScraperAPI URL - README.md: update ScraperAPI cost to $49/mo (premium required) - .env.example: note protected domain requirement - CHANGELOG.md: update ScraperAPI cost info
30 lines
1.4 KiB
Bash
30 lines
1.4 KiB
Bash
# Origins you want to allow (comma-separated, use * for all)
|
|
ALLOWED_ORIGINS=https://miruro.tv,https://miruro.to,https://miruro.bz,https://miruro.ru
|
|
|
|
# Port (optional, defaults to 3000)
|
|
PORT=3000
|
|
|
|
# Pipe XOR obfuscation key (hex string, 32 chars)
|
|
# Required for pipe response decoding (x-obfuscated: 2)
|
|
PIPE_OBF_KEY=71951034f8fbcf53d89db52ceb3dc22c
|
|
|
|
# PRU proxy XOR key (hex string, 32 chars)
|
|
# Required for pru.ultracloud.cc URL encoding/decoding
|
|
PRU_PROXY_KEY=a54d389c18527d9fd3e7f0643e27edbe
|
|
|
|
# ══════════════════════════════════════════════════════════════
|
|
# SELF-HEALING FALLBACK METHODS (optional, enables auto-recovery)
|
|
# ══════════════════════════════════════════════════════════════
|
|
|
|
# Method 2: ScraperAPI (requires premium plan — $49/month)
|
|
# Sign up at https://www.scraperapi.com/
|
|
# Enables automatic fallback when direct requests are blocked by Cloudflare
|
|
# NOTE: Miruro is a protected domain — free plan will NOT work
|
|
SCRAPER_API_KEY=
|
|
|
|
# Method 3: FlareSolverr (self-hosted browser proxy)
|
|
# Run: docker run -p 8191:8191 ghcr.io/flaresolverr/flaresolverr
|
|
# Deploy on Render.com free tier, Oracle Cloud, or any VPS
|
|
# Solves Cloudflare Turnstile challenges automatically
|
|
FLARESOLVERR_URL=
|