Public | Automated Build

Last pushed: 6 days ago
Short Description
CouchPotato search provider server for russian trackers
Full Description

CouchPotato search provider server for russian trackers

This is server for providing search API for CouchPotato for some russian trackers like RuTracker.

Installation/Running

Copy file config_example.yml to /etc/cp-config.yml and fill it with your login/password for RuTracker as well as host and port you want.

then run a docker container

docker run -p 127.0.0.1:9090:9090 -v /etc/cp-config.yml:/config/config.yml qk4l/cp-ru-server

Note

Your CouchPotato server MUST have access to your PC with this server to send search requests.
Also you should check if RuTracker is available from your network.

How does it work?

  • You run cp-ru-server on your PC/server/whatever
  • You add custom search provider in CouchPotato settings like described here
  • As host you paste address of host and port
  • When you search for a movie in CP:
    • CP server'll send search request to cp-ru-server instance
    • cp-ru-server will parse it and search on RuTracker for releases with such name and IMDB id
    • you'll see found releases as always
  • When you want to add release to queue:
    • CP server'll send download request to cp-ru-server instance
    • as long as your client should be authorized on RuTracker for downloading, download links in JSON answers to CP are pointing cp-ru-server's address and port, but with different arguments
    • so on torrent file download request .torrent file for choosen release will be downloaded into cache subdirectory of current directory
    • aaaaand will be sent to CP server as a response

What's working for now?

  • Search on RuTracker, but with some limitations:
    • at least one of words should be at least 3 characters (because I remove short words (IMDB having some issues with namings sometimes))
    • I'm not sure if searching using russian letters is working
    • I'm not sure if searching for russian/USSR movies is working (because of Unicode and stuff), also see previous item

I love this! But…

… but I need more features / not this / not exactly this / I want to use Sonarr / I want to use Headphones (underline whatever applicable)

Great! I'm also want to add more features for this server, but I don't have much time for developing and debugging.
So, your issues/pull requests/suggestions are welcome!
For now this is my want list:

  • fix searching using russian (Unicode) letters / fix searching for russian/USSR movies
  • support for authorization using login/hash instead of login/password
  • add more trackers (like kinozal.tv)
  • add support for proxies
  • search for ability to download .torrent files directly from RuTracker
  • code cleanup/refactoring

Special thanks

RuTracker searcher/downloader based on external project by Skymirrh located here.

Docker Pull Command
Owner
qk4l
Source Repository

Comments (0)