Browse Source

added readme file

master
imDMG 6 years ago
parent
commit
94325f9254
  1. 18
      README.md
  2. 8
      kinozal.py

18
README.md

@ -0,0 +1,18 @@ @@ -0,0 +1,18 @@
# qBittorrent plugins
.............
## Kinozal.tv
## Installation
* Edit `kinozal.py` by replacing `KINOZAL_USERNAME` and `KINOZAL_PASSWORD` with your Kinozal username and password.
* If kinozal.tv is blocked in your country, in same file:
* find `proxy = False` and switch in `True` (`proxy = True`)
* add proxy links working for you in `proxies` (`proxies = {'http': 'proxy.example.org:8080'}`)
* *make sure that your proxy work with right protocol*
* Move `kinozal.py` and `kinozal.png` to qBittorrent search engines directory:
* Windows: `%localappdata%\qBittorrent\nova3\engines\`
* Linux: `~/.local/share/data/qBittorrent/nova3/engines/`
* OS X: `~/Library/Application Support/qBittorrent/nova3/engines/`
* Kinozal search engine should now be available in qBittorrent.

8
kinozal.py

@ -6,7 +6,7 @@ @@ -6,7 +6,7 @@
import tempfile
import os
import logging
import time
# import time
from urllib.request import build_opener, HTTPCookieProcessor, ProxyHandler
from urllib.parse import urlencode, quote, unquote
@ -41,15 +41,15 @@ class kinozal(object): @@ -41,15 +41,15 @@ class kinozal(object):
# Set proxies (default false)
# make sure that proxies keys is'nt empty
proxy = True
proxy = False
proxies = {
'http': '',
'https': '',
}
# credentials
username = "USERNAME"
password = "PASSWORD"
username = "KINOZAL_USERNAME"
password = "KINOZAL_PASSWORD"
ua = 'Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Firefox/38.0'
def __init__(self):

Loading…
Cancel
Save