Fix URL decoding in search engine

This commit is contained in:
Christophe Dumez
2011-04-11 16:21:07 +00:00
parent fd8157f6ba
commit 851a677a48
3 changed files with 4 additions and 4 deletions

View File

@@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
#
#VERSION: 1.00
#VERSION: 1.1
#AUTHORS: BTDigg team (research@btdigg.org)
#
# GNU GENERAL PUBLIC LICENSE
@@ -52,7 +52,7 @@ class btdigg(object):
seeds = int(dl),
leech = int(dl),
engine_url = self.url,
desc_link = 'http://btdigg.org/search?%s' % (urllib.urlencode(dict(info_hash = info_hash)),))
desc_link = 'http://btdigg.org/search?%s' % (urllib.urlencode(dict(info_hash = info_hash, q = req)),))
prettyPrinter(res)
finally:

View File

@@ -7,4 +7,4 @@ vertor: 1.3
torrentdownloads: 1.1
extratorrent: 1.1
kickasstorrents: 1.2
btdigg: 1.00
btdigg: 1.1