mirror of
https://github.com/lichess-org/lila.git
synced 2026-05-26 13:51:00 +00:00
fix fide rating history fetch script by allowing http(s)
This commit is contained in:
@@ -62,7 +62,7 @@ def get_xml_links(period):
|
||||
|
||||
# Regex matches: href="...zip"> XML </a>
|
||||
link_pattern = re.compile(
|
||||
r"href=['\"]?(http://ratings\.fide\.com/download/([a-zA-Z0-9_]+\.zip))['\"]?[^>]*>\s*XML\s*</a>",
|
||||
r"href=['\"]?(https?://ratings\.fide\.com/download/([a-zA-Z0-9_]+\.zip))['\"]?[^>]*>\s*XML\s*</a>",
|
||||
re.IGNORECASE
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user