Small updates

This commit is contained in:
Hafitz Setya 2021-07-19 19:58:53 +07:00 committed by GitHub
parent 63e0ba8eff
commit 47b3184b7a
Signed by untrusted user: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -341,6 +341,9 @@ def racaty(url: str) -> str:
def fichier(link: str) -> str:
""" 1Fichier direct links generator
Based on https://github.com/Maujar/updateref-16-7-21
https://github.com/breakdowns/slam-mirrorbot """
regex = r"^([http:\/\/|https:\/\/]+)?.*1fichier\.com\/\?.+"
gan = re.match(regex, link)
if not gan: