Hotfix ingestor github flow, and move to top level src folder (foldedr per service) (#179)

This commit is contained in:
iPromKnight
2024-03-28 10:20:26 +00:00
committed by GitHub
parent 4308a0ee71
commit baec0450bf
9 changed files with 3 additions and 2 deletions

View File

@@ -0,0 +1,15 @@
## 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
```bash
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.