Browse Source

Ported isohunt plugin to the new API

adaptive-webui-19844
Christophe Dumez 14 years ago
parent
commit
694f7b172a
  1. 6
      src/searchengine/nova2/engines/isohunt.py
  2. 2
      src/searchengine/nova2/engines/versions.txt

6
src/searchengine/nova2/engines/isohunt.py

@ -1,4 +1,4 @@
#VERSION: 1.32 #VERSION: 1.4
#AUTHORS: Christophe Dumez (chris@qbittorrent.org) #AUTHORS: Christophe Dumez (chris@qbittorrent.org)
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
@ -59,7 +59,9 @@ class isohunt(object):
torrent_infos = m.groupdict() torrent_infos = m.groupdict()
torrent_infos['name'] = re.sub('<.*?>', '', torrent_infos['name']) torrent_infos['name'] = re.sub('<.*?>', '', torrent_infos['name'])
torrent_infos['engine_url'] = self.url torrent_infos['engine_url'] = self.url
torrent_infos['link'] = 'http://isohunt.com/download/'+torrent_infos['link'] torrent_code = torrent_infos['link']
torrent_infos['link'] = 'http://isohunt.com/download/'+torrent_code
torrent_infos['desc_link'] = 'http://isohunt.com/torrent_details/'+torrent_code+'/dvdrip?tab=summary'
prettyPrinter(torrent_infos) prettyPrinter(torrent_infos)
res = res + 1 res = res + 1
if res == 0: if res == 0:

2
src/searchengine/nova2/engines/versions.txt

@ -1,4 +1,4 @@
isohunt: 1.32 isohunt: 1.4
torrentreactor: 1.21 torrentreactor: 1.21
btjunkie: 2.31 btjunkie: 2.31
mininova: 1.40 mininova: 1.40

Loading…
Cancel
Save