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: