diff --git a/bot/helper/mirror_utils/download_utils/direct_link_generator.py b/bot/helper/mirror_utils/download_utils/direct_link_generator.py index 2a52125..1a4a0a3 100644 --- a/bot/helper/mirror_utils/download_utils/direct_link_generator.py +++ b/bot/helper/mirror_utils/download_utils/direct_link_generator.py @@ -48,7 +48,7 @@ def direct_link_generator(link: str): elif 'github.com' in link: return github(link) elif 'hxfile.co' in link: - return racaty(link) + return hxfile(link) elif 'anonfiles.com' in link: return anonfiles(link) elif 'letsupload.io' in link: @@ -87,8 +87,6 @@ def direct_link_generator(link: str): return streamtape(link) elif 'bayfiles.com' in link: return anonfiles(link) - elif 'racaty.net' in link: - return racaty(link) else: raise DirectDownloadLinkException(f'No Direct link function found for {link}') @@ -223,7 +221,7 @@ def github(url: str) -> str: raise DirectDownloadLinkException("Error: Can't extract the link\n") -def racaty(url: str) -> str: +def hxfile(url: str) -> str: """ Racaty direct link generator Based on https://github.com/breakdowns/slam-mirrorbot """ bypasser = lk21.Bypass()