Direct link generator: remove racaty coz broken
Signed-off-by: breakdowns <hafitz666@outlook.co.id>
This commit is contained in:
parent
232538ee03
commit
fe28925417
|
|
@ -48,7 +48,7 @@ def direct_link_generator(link: str):
|
||||||
elif 'github.com' in link:
|
elif 'github.com' in link:
|
||||||
return github(link)
|
return github(link)
|
||||||
elif 'hxfile.co' in link:
|
elif 'hxfile.co' in link:
|
||||||
return racaty(link)
|
return hxfile(link)
|
||||||
elif 'anonfiles.com' in link:
|
elif 'anonfiles.com' in link:
|
||||||
return anonfiles(link)
|
return anonfiles(link)
|
||||||
elif 'letsupload.io' in link:
|
elif 'letsupload.io' in link:
|
||||||
|
|
@ -87,8 +87,6 @@ def direct_link_generator(link: str):
|
||||||
return streamtape(link)
|
return streamtape(link)
|
||||||
elif 'bayfiles.com' in link:
|
elif 'bayfiles.com' in link:
|
||||||
return anonfiles(link)
|
return anonfiles(link)
|
||||||
elif 'racaty.net' in link:
|
|
||||||
return racaty(link)
|
|
||||||
else:
|
else:
|
||||||
raise DirectDownloadLinkException(f'No Direct link function found for {link}')
|
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")
|
raise DirectDownloadLinkException("Error: Can't extract the link\n")
|
||||||
|
|
||||||
|
|
||||||
def racaty(url: str) -> str:
|
def hxfile(url: str) -> str:
|
||||||
""" Racaty direct link generator
|
""" Racaty direct link generator
|
||||||
Based on https://github.com/breakdowns/slam-mirrorbot """
|
Based on https://github.com/breakdowns/slam-mirrorbot """
|
||||||
bypasser = lk21.Bypass()
|
bypasser = lk21.Bypass()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue