Did I find the right examples for you? yes no

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)

src/w/e/weboob-HEAD/modules/tvsubtitles/backend.py   weboob(Download)
from weboob.tools.backend import BaseBackend
 
from .browser import TvsubtitlesBrowser, LANGUAGE_LIST
 
from urllib import quote_plus
    def iter_subtitles(self, language, pattern):
        if language not in LANGUAGE_LIST:
            raise LanguageNotSupported()
        return self.browser.iter_subtitles(language, quote_plus(pattern.encode('utf-8')))