コード例 #1
0
 def iter_subtitles(self, language, pattern):
     if language not in LANGUAGE_LIST:
         raise LanguageNotSupported()
     return self.browser.iter_subtitles(language, pattern)
コード例 #2
0
 def iter_subtitles(self, language, pattern):
     if language not in LANGUAGE_CONV.keys():
         raise LanguageNotSupported()
     return self.browser.iter_subtitles(language,
                                        quote_plus(pattern.encode('utf-8')))