[opensub] multi sub result page

This commit is contained in:
Julien Veyssier 2013-02-24 13:07:40 +01:00
commit 1f03dc7c7f
2 changed files with 59 additions and 72 deletions

View file

@ -46,6 +46,10 @@ class OpensubtitlesBrowser(BaseBrowser):
return self.page.iter_subtitles()
def get_subtitle(self, id):
""" the id is formed this way : id_movie|id_file
the id_movie helps to find the page
the id_file help to find the file into the page
"""
ids = id.split('|')
id_movie = ids[0]
id_file = ids[1]