Add /api/refresh?tid=<id> that re-downloads a Toloka thread's .torrent
server-side and returns a fresh magnet + m3u. Pass the thread id (tlk)
into the m3u params for series. Drop the per-magnet cache so refreshes
always reflect the thread's current state (new episodes while airing).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- parse Toloka Ukrainian season/episode naming (Сезони 1-10,
серій 7 з 8, homoglyphs) into a clean title + episodes field
- add series-only sortable S:E column, desktop-only Year column;
strip year/source meta from the title cell
- filter out torrents with fewer than 5 seeders in the API route
- cache Toloka magnets in Redis so each .torrent is downloaded once
across serverless instances; append public trackers to magnets
(never the passkey-bearing announce URLs from the .torrent)
- fix play button hover state while magnet is pending
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Store the serialized cookie jar in Upstash Redis after login and
restore it on instance start, so serverless cold starts reuse the
session instead of re-authenticating. Falls back to the previous
in-memory behavior when Redis is not configured or unavailable.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>