Skip to content

Commit

Permalink
Small updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Hafitz Setya authored Jul 19, 2021
1 parent 63e0ba8 commit 47b3184
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 47b3184

Please sign in to comment.