mirror of
https://github.com/knightcrawler-stremio/knightcrawler.git
synced 2024-12-20 03:29:51 +00:00
536 B
536 B
Torrent Processor
This project subscribes to the Annatar Redis pubsub event events:v1:torrent:added and writes the results to ingested_torrents table.
Why? The Annatar event occurs when Annatar identifies a torrent from Jackett. This adds another source of torrents to the KC backed.
Run
POSTGRES_URL=postgresql://USERNAME:PASSWORD@127.0.0.1/knightcrawler \
REDIS_URL=redis://localhost \
python torrent_ingestor/main.py
You can run multiple instances as it uses a SETNX to acquire a lock for each info hash.