implement Gazelle.get_torrent() method

This commit is contained in:
Romain Bignon 2010-05-02 18:55:56 +02:00
commit 2ee1c761ea
4 changed files with 93 additions and 7 deletions

View file

@ -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)