mirror of
https://github.com/knightcrawler-stremio/knightcrawler.git
synced 2024-12-20 03:29:51 +00:00
Hotfix ingestor github flow, and move to top level src folder (foldedr per service) (#179)
This commit is contained in:
15
src/torrent-ingestor/README.md
Normal file
15
src/torrent-ingestor/README.md
Normal 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.
|
||||
Reference in New Issue
Block a user