Merge pull request #3021 from ngosang/improve_torrentz

[search engine] Improve torrentz engine to return more results
This commit is contained in:
sledgehammer999 2015-06-01 13:32:58 +03:00
commit 81b3517166
4 changed files with 6 additions and 6 deletions

View file

@ -1,4 +1,4 @@
#VERSION: 2.12
#VERSION: 2.13
#AUTHORS: Diego de las Heras (diegodelasheras@gmail.com)
# Redistribution and use in source and binary forms, with or without
@ -105,7 +105,7 @@ class torrentz(object):
while i < 6:
results_list = []
# "what" is already urlencoded
html = retrieve_url(self.url + '/search?f=%s&p=%d' % (what, i))
html = retrieve_url(self.url + '/any?f=%s&p=%d' % (what, i))
parser = self.MyHtmlParser(results_list, self.url, trackers)
parser.feed(html)
parser.close()

View file

@ -5,4 +5,4 @@ extratorrent: 1.2
kickasstorrents: 1.26
btdigg: 1.24
legittorrents: 1.02
torrentz: 2.12
torrentz: 2.13

View file

@ -1,4 +1,4 @@
#VERSION: 2.12
#VERSION: 2.13
#AUTHORS: Diego de las Heras (diegodelasheras@gmail.com)
# Redistribution and use in source and binary forms, with or without
@ -105,7 +105,7 @@ class torrentz(object):
while i < 6:
results_list = []
# "what" is already urlencoded
html = retrieve_url(self.url + '/search?f=%s&p=%d' % (what, i))
html = retrieve_url(self.url + '/any?f=%s&p=%d' % (what, i))
parser = self.MyHtmlParser(results_list, self.url, trackers)
parser.feed(html)
parser.close()

View file

@ -5,4 +5,4 @@ extratorrent: 1.2
kickasstorrents: 1.26
btdigg: 1.23
legittorrents: 1.03
torrentz: 2.12
torrentz: 2.13