Browse Source

update kinozal.py: turn to https

master
imDMG 2 years ago
parent
commit
6415874100
  1. 6
      engines/kinozal.py

6
engines/kinozal.py

@ -1,4 +1,4 @@
# VERSION: 2.9 # VERSION: 2.10
# AUTHORS: imDMG [imdmgg@gmail.com] # AUTHORS: imDMG [imdmgg@gmail.com]
# Kinozal.tv search engine plugin for qBittorrent # Kinozal.tv search engine plugin for qBittorrent
@ -40,7 +40,7 @@ logger = logging.getLogger(__name__)
FILE = Path(__file__) FILE = Path(__file__)
BASEDIR = FILE.parent.absolute() BASEDIR = FILE.parent.absolute()
FILENAME = FILE.name[:-3] FILENAME = FILE.stem
FILE_J, FILE_C = [BASEDIR / (FILENAME + fl) for fl in (".json", ".cookie")] FILE_J, FILE_C = [BASEDIR / (FILENAME + fl) for fl in (".json", ".cookie")]
PAGES = 50 PAGES = 50
@ -134,7 +134,7 @@ config = Config()
class Kinozal: class Kinozal:
name = "Kinozal" name = "Kinozal"
url = "http://kinozal.tv/" url = "https://kinozal.tv/"
url_dl = url.replace("//", "//dl.") url_dl = url.replace("//", "//dl.")
url_login = url + "takelogin.php" url_login = url + "takelogin.php"
supported_categories = {"all": "0", supported_categories = {"all": "0",

Loading…
Cancel
Save