feat(torrents): add 0day.community tracker as a torrent provider

Private xbtit tracker (tracker.0day.community): session login via
takelogin.php with cookie jar persisted to Redis, cp1251-decoded
word-AND search scoped to movie/TV categories, magnet built from the
fetched .torrent (download.php requires the name param) + public
trackers. Generalizes /api/magnet to dispatch by provider.
This commit is contained in:
ner committed 2026-10-25 17:09:51 +02:00
1 parent 87513bb6a8
commit 1fd8f0f7e5
11 files changed
+291 -11

No files matched your search

+3
View File
@@ -4,6 +4,9 @@ YTS_HOST=https://yts.mx/api/v2/list_movies.json
TOLOKA_HOST=https://toloka.to
TOLOKA_USERNAME=your_toloka_username
TOLOKA_PASSWORD=your_toloka_password
ODC_HOST=https://tracker.0day.community
ODC_USERNAME=your_0day_username
ODC_PASSWORD=your_0day_password
NEXT_PUBLIC_TORRENT_PROXY=http://localhost:8090
# Optional: external subtitles in the web player — free API key at https://www.opensubtitles.com/en/consumers
OPENSUBTITLES_API_KEY=your_api_key