diff --git a/Pipfile b/Pipfile index ca0498c..936929f 100644 --- a/Pipfile +++ b/Pipfile @@ -8,13 +8,13 @@ pylint = "*" autopep8 = "*" [packages] -requests = "*" +requests = "==2.23.0" justlog = "*" -tabulate = "*" -colorama = "*" -transmission-clutch = "*" -deluge-client = "*" -python-qbittorrent = "*" +tabulate = "==0.8.7" +colorama = "==0.4.3" +transmission-clutch = "==3.1.0" +deluge-client = "==1.8.0" +python-qbittorrent = "==0.4.2" [requires] -python_version = "3.7" +python_version = "3" diff --git a/README.md b/README.md index 9e0d8fb..58f1f94 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Raincoat is a CLI tool to search torrents using [Jackett](https://github.com/Jac ### Usage -`raincoat` +`raincoat terms_to_search` #### Parameters @@ -39,7 +39,7 @@ Upon installation, a config file is created in your home directory. Before you c { "jackett_apikey": "", "jackett_url": "http://your_base_jackett_url", - "jacket_indexer": "all", + "jackett_indexer": "all", "description_length": 100, "exclude": "words to exclude", "results_limit": 20, diff --git a/raincoat/raincoat.py b/raincoat/raincoat.py index 1be290b..e0567af 100644 --- a/raincoat/raincoat.py +++ b/raincoat/raincoat.py @@ -14,11 +14,11 @@ # Constants -VERSION = "0.5" +VERSION = "0.7" APP_NAME = "Raincoat" parser = argparse.ArgumentParser() -parser.add_argument("search", help="The field to search.") +parser.add_argument("search", help="What to search for.") parser.add_argument("-k", "--key", help="The Jackett API key.") parser.add_argument("-l", "--length", help="Max results description length.", type=int) parser.add_argument("-L", "--limit", help="Max number of results.", type=int) diff --git a/raincoat/torrent.py b/raincoat/torrent.py index 335c37c..9c41ca9 100644 --- a/raincoat/torrent.py +++ b/raincoat/torrent.py @@ -1,4 +1,4 @@ -from clutch.core import Client as tClient +from clutch import Client as tClient from deluge_client import DelugeRPCClient from qbittorrent import Client as qClient from .helpers import fetch_torrent_url diff --git a/setup.py b/setup.py index 764e906..a1765e9 100644 --- a/setup.py +++ b/setup.py @@ -34,7 +34,7 @@ def run(self): setuptools.setup( name="raincoat-jackett", - version="0.6", + version="0.7", author="Gabisonfire", author_email="gabisonfire@github.com", description="Raincoat is a tool to search torrents using Jackett and send them to your client.", @@ -53,7 +53,7 @@ def run(self): "Operating System :: Unix", "Topic :: Communications :: File Sharing", ], - install_requires=["requests", "justlog", "colorama", "tabulate", "transmission-clutch", "deluge-client", "python-qbittorrent"], + install_requires=["requests==2.23.0", "justlog", "colorama==0.4.3", "tabulate==0.8.7", "transmission-clutch==3.1.0", "deluge-client==1.8.0", "python-qbittorrent==0.4.2"], cmdclass={ 'install': PostInstallCommand },