From 781e96c12f9e0a60d93f6570456add8d28e58934 Mon Sep 17 00:00:00 2001 From: Jace <54625750+Jacekun@users.noreply.github.com> Date: Tue, 24 May 2022 21:36:28 +0800 Subject: [PATCH] Fix on URL Regex (#1089) (my dumbass used the erong slash) --- .github/site-list.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/site-list.py b/.github/site-list.py index a210c8c2..362aa157 100644 --- a/.github/site-list.py +++ b/.github/site-list.py @@ -9,7 +9,7 @@ from typing import List, Dict JSON_PATH = "docs/providers.json" GLOB_ANIME = "app/src/main/java/com/lagradost/cloudstream3/animeproviders/*Provider.kt" GLOB_MOVIE = "app/src/main/java/com/lagradost/cloudstream3/movieproviders/*Provider.kt" -URL_REGEX = compile("override\sva[lr]\smainUrl[^\"']+[\"'](https?://[a-zA-Z0-9\.-\\]+)[\"']") +URL_REGEX = compile("override\sva[lr]\smainUrl[^\"']+[\"'](https?://[a-zA-Z0-9\.-/]+)[\"']") FILENAME_REGEX = compile("([A-Za-z0-9]+)(?:.kt)$") PROVIDER_CLASSNAME_REGEX = compile("(?<=class\s)([a-zA-Z]+)(?=\s:\sMainAPI\(\))") NAME_REGEX = compile("override\sva[lr]\sname[^\"']+[\"']([a-zA-Z-.\s]+)")