[isohunt] corrected (closes #529), the site doesn't provide seed information on info page anymore

This commit is contained in:
Julien Veyssier 2011-02-26 12:24:41 +01:00 committed by Romain Bignon
commit ac7274cafd
2 changed files with 17 additions and 16 deletions

View file

@ -30,7 +30,7 @@ class IsohuntBrowser(BaseBrowser):
ENCODING = 'utf-8'
USER_AGENT = BaseBrowser.USER_AGENTS['wget']
PAGES = {
'https://isohunt.com/torrents/.*iht=-1&ihp=1&ihs1=2&iho1=d' : TorrentsPage,
'https://isohunt.com/torrents/.*iht=-1&ihp=1&ihs1=1&iho1=d' : TorrentsPage,
'https://isohunt.com/torrent_details.*tab=summary' : TorrentPage,
}
@ -38,7 +38,7 @@ class IsohuntBrowser(BaseBrowser):
return self.location('https://isohunt.com')
def iter_torrents(self, pattern):
self.location('https://isohunt.com/torrents/%s?iht=-1&ihp=1&ihs1=2&iho1=d' % pattern)
self.location('https://isohunt.com/torrents/%s?iht=-1&ihp=1&ihs1=1&iho1=d' % pattern)
assert self.is_on_page(TorrentsPage)
return self.page.iter_torrents()