This commit is contained in:
Hafitz Setya 2021-08-22 08:50:54 +07:00 committed by GitHub
parent b6738a318c
commit 5f75d42753
Signed by untrusted user: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -209,7 +209,7 @@ def github(url: str) -> str:
def hxfile(url: str) -> str:
""" Hxfile direct link generator
Based on https://github.com/zevtyardt/lk21
https://github.com/breakdowns/slam-mirrorbot """
https://github.com/Slam-Team/slam-mirrorbot """
bypasser = lk21.Bypass()
dl_url=bypasser.bypass_filesIm(url)
return dl_url
@ -218,7 +218,7 @@ def hxfile(url: str) -> str:
def anonfiles(url: str) -> str:
""" Anonfiles direct link generator
Based on https://github.com/zevtyardt/lk21
https://github.com/breakdowns/slam-mirrorbot """
https://github.com/Slam-Team/slam-mirrorbot """
bypasser = lk21.Bypass()
dl_url=bypasser.bypass_anonfiles(url)
return dl_url
@ -227,7 +227,7 @@ def anonfiles(url: str) -> str:
def letsupload(url: str) -> str:
""" Letsupload direct link generator
Based on https://github.com/zevtyardt/lk21
https://github.com/breakdowns/slam-mirrorbot """
https://github.com/Slam-Team/slam-mirrorbot """
dl_url = ''
try:
link = re.findall(r'\bhttps?://.*letsupload\.io\S+', url)[0]
@ -241,7 +241,7 @@ def letsupload(url: str) -> str:
def fembed(link: str) -> str:
""" Fembed direct link generator
Based on https://github.com/zevtyardt/lk21
https://github.com/breakdowns/slam-mirrorbot """
https://github.com/Slam-Team/slam-mirrorbot """
bypasser = lk21.Bypass()
dl_url=bypasser.bypass_fembed(link)
lst_link = []
@ -254,7 +254,7 @@ def fembed(link: str) -> str:
def sbembed(link: str) -> str:
""" Sbembed direct link generator
Based on https://github.com/zevtyardt/lk21
https://github.com/breakdowns/slam-mirrorbot """
https://github.com/Slam-Team/slam-mirrorbot """
bypasser = lk21.Bypass()
dl_url=bypasser.bypass_sbembed(link)
lst_link = []
@ -304,7 +304,7 @@ def antfiles(url: str) -> str:
def streamtape(url: str) -> str:
""" Streamtape direct link generator
Based on https://github.com/zevtyardt/lk21
https://github.com/breakdowns/slam-mirrorbot """
https://github.com/Slam-Team/slam-mirrorbot """
bypasser = lk21.Bypass()
dl_url=bypasser.bypass_streamtape(url)
return dl_url
@ -312,7 +312,7 @@ def streamtape(url: str) -> str:
def racaty(url: str) -> str:
""" Racaty direct links generator
based on https://github.com/breakdowns/slam-mirrorbot """
based on https://github.com/Slam-Team/slam-mirrorbot """
dl_url = ''
try:
link = re.findall(r'\bhttps?://.*racaty\.net\S+', url)[0]
@ -332,7 +332,7 @@ def racaty(url: str) -> str:
def fichier(link: str) -> str:
""" 1Fichier direct links generator
Based on https://github.com/Maujar
https://github.com/breakdowns/slam-mirrorbot """
https://github.com/Slam-Team/slam-mirrorbot """
regex = r"^([http:\/\/|https:\/\/]+)?.*1fichier\.com\/\?.+"
gan = re.match(regex, link)
if not gan: