diff --git a/src/yandere_bot.py b/src/yandere_bot.py index dc40c0a..445e82c 100644 --- a/src/yandere_bot.py +++ b/src/yandere_bot.py @@ -144,12 +144,10 @@ class YandereBot: try: backend_s = picked_profile["backend"] backend = importlib.import_module(backend_s) - username = self.settings_credentials[backend_s]["username"] - password = self.settings_credentials[backend_s]["password"] + backend_credentials = self.settings_credentials[backend_s] img = None downloader = backend.downloader( - username, password, - self.settings_behavior["tmp_dir"] + backend_credentials, self.settings_behavior ) img = downloader.fetch_post(picked_profile)