/** * 1jour1film (1J1F) source — Dooplay/WordPress scraper. * Mount point: app.use('/api/j1f', require('./routes/j1f')) * * Endpoints (TMDB id in, players out — same contract as fstream/wiflix): * GET /movie/:id * GET /tv/:id/season/:season (optional ?episode=N) * * Flow * ---- * 0. Domain rotates. Resolve the live base from the stable /go/ entry * (TARGET_URL = "..."), cached + env-overridable (J1F_BASE_URL). * 1. Search via the nonce-free WP listing {base}/?s={query} -> /films/ + * /tvshows/ links (slug carries the year). Matched against TMDB title+year. * 2. The real source list is NOT in the plain HTML — it ships base64-encoded * inside