def __init__(self, tmp_path, download_path, settings=None, settings_provider=None, captcha_cb=None, delay_cb=None, message_cb=None): BaseSeeker.__init__(self, tmp_path, download_path, settings, settings_provider)
def __init__(self, wseeker_cls, *args, **kwargs): self.id = wseeker_cls.id self.error = wseeker_cls.error self.provider_name = wseeker_cls.provider_name self.supported_langs = wseeker_cls.supported_langs self.description = getattr(wseeker_cls, 'description', "") self.tvshow_search = getattr(wseeker_cls, 'tvshow_search', True) self.movie_search = getattr(wseeker_cls, 'movie_search', True) self.default_settings = getattr(wseeker_cls, 'default_settings', dict()) BaseSeeker.__init__(self, *args, **kwargs)