How to use the pysd.Opensubtitles_org function in pysd

To help you get started, we’ve selected a few pysd examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github KonishchevDmitry / pysd / pysd.py View on Github external
def __init__(self, use_opensubtitles = False):
        self.__downloaders = []

        if use_opensubtitles:
            self.__downloaders += [( "www.opensubtitles.org", Opensubtitles_org() )]
        self.__downloaders += [( "www.tvsubtitles.net", Tvsubtitles_net() )]