diff --git a/services/other.py b/services/other.py index 5738a31..bfe2f19 100644 --- a/services/other.py +++ b/services/other.py @@ -160,7 +160,7 @@ def rimgo(mightyList): mightyList['rimgo'] = _list print(Fore.GREEN + 'Fetched ' + Style.RESET_ALL + 'rimgo') except Exception: - fetchCache('rimgo') + fetchCache('rimgo', mightyList) logging.error(traceback.format_exc()) diff --git a/services/utils.py b/services/utils.py index 4558fa2..b6b781a 100644 --- a/services/utils.py +++ b/services/utils.py @@ -182,7 +182,7 @@ def fetchRegexList(frontend, url, regex, mightyList): mightyList[frontend] = _list print(Fore.GREEN + 'Fetched ' + Style.RESET_ALL + frontend) except Exception: - fetchCache(frontend) + fetchCache(frontend, mightyList) logging.error(traceback.format_exc()) @@ -217,7 +217,7 @@ def fetchTextList(frontend, url, prepend): mightyList[frontend] = _list print(Fore.GREEN + 'Fetched ' + Style.RESET_ALL + frontend) except Exception: - fetchCache(frontend) + fetchCache(frontend, mightyList) logging.error(traceback.format_exc()) diff --git a/services/youtube.py b/services/youtube.py index 0f2db01..53d2540 100644 --- a/services/youtube.py +++ b/services/youtube.py @@ -66,7 +66,7 @@ def piped(mightyList): _list['clearnet'].remove("https://piped.video") print(Fore.GREEN + 'Fetched ' + Style.RESET_ALL + frontend) except Exception: - fetchCache(frontend) + fetchCache(frontend, mightyList) logging.error(traceback.format_exc()) @@ -107,7 +107,7 @@ def poketube(mightyList): mightyList[frontend] = _list print(Fore.GREEN + 'Fetched ' + Style.RESET_ALL + frontend) except Exception: - fetchCache(frontend) + fetchCache(frontend, mightyList) logging.error(traceback.format_exc())