change
This commit is contained in:
1 parent
fceb98aa89
commit
3d727ab559
6 files changed
+16
-16
No files matched your search
@@ -63,7 +63,7 @@ class KickAssSo(SearcherABC.SearcherABC):
|
||||
|
||||
def search(self, keyword):
|
||||
filesList = []
|
||||
url = "http://kickass.to/usearch/%s/?field=time_add&sorder=desc" % urllib.quote_plus(keyword)
|
||||
url = "http://kickass.to/usearch/%s/?field=seeders&sorder=desc" % urllib.quote_plus(keyword)
|
||||
headers = [('User-Agent',
|
||||
'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 YaBrowser/14.10.2062.12061 Safari/537.36'),
|
||||
('Referer', 'http://kickass.so/'), ('Accept-encoding', 'gzip'), ]
|
||||
|
||||
@@ -159,8 +159,8 @@ class RuTrackerOrg(SearcherABC.SearcherABC):
|
||||
'(http://static\.rutracker\.org/captcha/\d+/\d+/[0-9a-f]+\.jpg\?\d+).+?name="cap_sid" value="(.+?)".+?name="(cap_code_[0-9a-f]+)"',
|
||||
re.DOTALL | re.MULTILINE).search(pageContent)
|
||||
data = {
|
||||
'login_password': 'torrenter',
|
||||
'login_username': 'torrenter-plugin',
|
||||
'login_password': 'torrenter_plugin',
|
||||
'login_username': 'torrenter_plugin',
|
||||
'login': '%C2%F5%EE%E4',
|
||||
'redirect': 'index.php'
|
||||
}
|
||||
|
||||
@@ -80,7 +80,7 @@ class KinoZalTV(SearcherABC.SearcherABC):
|
||||
for (forum, topic, title, size, seeds, leechers) in re.compile(regex, re.DOTALL).findall(response):
|
||||
if int(forum) not in bad_forums:
|
||||
image = sys.modules["__main__"].__root__ + self.searchIcon
|
||||
link = 'http://kinozal.tv/download.php/' + topic + '/[kinozal.tv]id' + topic + '.torrent'
|
||||
link = 'http://kinozal.tv/download.php?id=' + topic
|
||||
filesList.append((
|
||||
int(int(self.sourceWeight) * int(seeds)),
|
||||
int(seeds), int(leechers), size,
|
||||
|
||||
Reference in new issue
Block a user