[opensub] multi sub result page
This commit is contained in:
parent
50d69004f6
commit
1f03dc7c7f
2 changed files with 59 additions and 72 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue