mirror of
https://github.com/YGGverse/qBt_SE.git
synced 2025-03-12 13:21:19 +00:00
added readme file
This commit is contained in:
parent
d2103e1759
commit
94325f9254
18
README.md
Normal file
18
README.md
Normal file
@ -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.
|
@ -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):
|
||||
|
||||
# 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…
x
Reference in New Issue
Block a user