Update site-list.py

This commit is contained in:
Osten 2022-03-16 21:19:59 +00:00 committed by GitHub
parent 8b4c9e3593
commit 76d2f9ee23
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,7 +6,7 @@ from typing import List, Dict
# Globals # Globals
URL_REGEX = compile( URL_REGEX = compile(
"override val mainUrl(?:\:\s?String)?[^\"']+[\"'](https?://[a-zA-Z0-9\.-]+)[\"']") "override\sva[lr]\smainUrl[^\"']+[\"'](https?://[a-zA-Z0-9\.-]+)[\"']")
NAME_REGEX = compile("class (.+?) ?: \w+\(\)\s\{") NAME_REGEX = compile("class (.+?) ?: \w+\(\)\s\{")
START_MARKER = "<!--SITE LIST START-->" START_MARKER = "<!--SITE LIST START-->"
END_MARKER = "<!--SITE LIST END-->" END_MARKER = "<!--SITE LIST END-->"