home method is useless on torrent backends
This commit is contained in:
parent
e2f123db5d
commit
8e09865ae0
2 changed files with 0 additions and 6 deletions
|
|
@ -36,9 +36,6 @@ class IsohuntBrowser(BaseBrowser):
|
|||
'https://isohunt.com/torrent_details.*tab=summary': TorrentPage,
|
||||
}
|
||||
|
||||
def home(self):
|
||||
return self.location('https://isohunt.com')
|
||||
|
||||
def iter_torrents(self, pattern):
|
||||
self.location('https://isohunt.com/torrents/%s?iht=-1&ihp=1&ihs1=1&iho1=d' % pattern.encode('utf-8'))
|
||||
assert self.is_on_page(TorrentsPage)
|
||||
|
|
|
|||
|
|
@ -39,9 +39,6 @@ class PiratebayBrowser(BaseBrowser):
|
|||
'https://thepiratebay.gl/torrent/.*': TorrentPage
|
||||
}
|
||||
|
||||
def home(self):
|
||||
return self.location('https://thepiratebay.gl/')
|
||||
|
||||
def iter_torrents(self, pattern):
|
||||
self.location('https://thepiratebay.gl/search/%s/0/7/0' % urllib.quote_plus(pattern.encode('utf-8')))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue