diff --git a/src/search_engine/engines/btjunkie.py b/src/search_engine/engines/btjunkie.py index 11b5f63fc..0f6389702 100644 --- a/src/search_engine/engines/btjunkie.py +++ b/src/search_engine/engines/btjunkie.py @@ -1,4 +1,4 @@ -#VERSION: 1.11 +#VERSION: 1.12 #AUTHORS: Fabien Devaux (fab@gnux.info) from novaprinter import prettyPrinter import urllib @@ -14,7 +14,7 @@ class btjunkie(object): res = 0 dat = urllib.urlopen(self.url+'/search?q=%s&o=52&p=%d'%(what,i)).read().decode('utf8', 'replace') # I know it's not very readable, but the SGML parser feels in pain - section_re = re.compile('(?s)href="/torrent.*?') + section_re = re.compile('(?s)href="http://dl.btjunkie.org/torrent/.*?') torrent_re = re.compile('(?s)href="(?P.*?[^"]+).*?' 'class="BlckUnd">(?P.*?).*?' '>(?P\d+MB).*?' @@ -27,7 +27,7 @@ class btjunkie(object): torrent_infos = m.groupdict() torrent_infos['name'] = re.sub('', '', torrent_infos['name']) torrent_infos['engine_url'] = self.url - torrent_infos['link'] = self.url+torrent_infos['link'] + #torrent_infos['link'] = self.url+torrent_infos['link'] prettyPrinter(torrent_infos) res = res + 1 if res == 0: diff --git a/src/search_engine/engines/versions.txt b/src/search_engine/engines/versions.txt index 73b0a0b4b..aba8461c3 100644 --- a/src/search_engine/engines/versions.txt +++ b/src/search_engine/engines/versions.txt @@ -1,5 +1,5 @@ isohunt: 1.01 torrentreactor: 1.02 -btjunkie: 1.11 +btjunkie: 1.12 mininova: 1.12 piratebay: 1.01