This is a backend-service, which provide ability of searching and downloading movies/TV series/music via torrent
trackers for free. Is uses a set of providers (external systems), which contents searched
information. rms-media-discovery
could be described as web-crawler application.
- searching information about movies/TV series/music;
- searching torrent files for downloading media on different torrent trackers;
- external systems accounts management;
- Prometheus monitoring.
Some packages of source code are importable. Some useful of this:
client
- Swagger-generated client to the service API;provider
- crawlers and API-clients for various external systems;navigator
- comfortable wrapper for headless browser;- etc.
Service have RESTful JSON API, described as OpenAPI schema here. Auth via X-Token is supported.
- MongoDb
- Prometheus (optional)
- Chromium
At the first run of service, admin key will be generated automatically. You can find out the key via logs or database.
./rms-media-discovery [-host host] [-port port] [-db db] [-verbose] [-help]
Flag | Default Value | Description |
---|---|---|
-config string |
/etc/rms/rms-media-discovery.json |
Path to config |
-verbose |
Verbose mode | |
-help |
Show help |
docker build -t rms-media-discovery .
docker run -p 8080:8080 rms-media-discovery
Some external systems need user accounts or limited API keys for providing functionality. You can register and append they to database manually or via API. Each account links to external system id. They can be:
imdb
- IMDB API key. You can get it here.kinopoisk
- Кинопоиск API key. You can get i here2captcha
- 2Captcha API Key. Needs to resolve captchas for some external systems loginrutracker
- RuTracker.org user account.
Best practice is use a few accounts of each external system (except 2Captcha) for avoiding ban or limits exceeds.