[qcineoob] search by id

[qcookboob] undo previous modif on backends, exceptions  are handled by app
This commit is contained in:
Julien Veyssier 2013-03-17 18:19:07 +01:00
commit 5e247db743
9 changed files with 90 additions and 31 deletions

View file

@ -43,5 +43,5 @@ class BtmonBrowser(BaseBrowser):
def get_torrent(self, id):
self.location('http://www.btmon.com/%s.html' % id)
assert self.is_on_page(TorrentPage)
return self.page.get_torrent()
if self.is_on_page(TorrentPage):
return self.page.get_torrent()