suboob+attilasub works
This commit is contained in:
parent
591db5c1be
commit
95d4f67630
5 changed files with 80 additions and 13 deletions
|
|
@ -41,7 +41,8 @@ class AttilasubBrowser(BaseBrowser):
|
|||
assert self.is_on_page(SearchPage)
|
||||
return self.page.iter_subtitles(pattern)
|
||||
|
||||
#def get_torrent(self, id):
|
||||
# self.location('http://kat.ph/%s.html' % id)
|
||||
# assert self.is_on_page(TorrentPage)
|
||||
# return self.page.get_torrent(id)
|
||||
def get_subtitle(self, id):
|
||||
url_end = id.split('|')[0]
|
||||
self.location('http://davidbillemont3.free.fr/%s' % url_end)
|
||||
assert self.is_on_page(SubtitlesPage)
|
||||
return self.page.get_subtitle(id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue