Direct link generator: remove racaty coz broken

Signed-off-by: breakdowns <hafitz666@outlook.co.id>
This commit is contained in:
Hafitz Setya 2021-07-18 06:55:40 +07:00 committed by GitHub
parent 232538ee03
commit fe28925417
Signed by untrusted user: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()