implement Gazelle.get_torrent() method
This commit is contained in:
parent
1c85848195
commit
2ee1c761ea
4 changed files with 93 additions and 7 deletions
|
|
@ -66,4 +66,7 @@ class GazelleBrowser(BaseBrowser):
|
|||
return self.page.iter_torrents()
|
||||
|
||||
def get_torrent(self, id):
|
||||
pass
|
||||
self.location('/torrents.php?torrentid=%s' % id)
|
||||
|
||||
assert self.is_on_page(TorrentsPage)
|
||||
return self.page.get_torrent(id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue