diff --git a/bin/fide-rating-history.py b/bin/fide-rating-history.py index debc0fc055e..7056fe000bc 100755 --- a/bin/fide-rating-history.py +++ b/bin/fide-rating-history.py @@ -62,7 +62,7 @@ def get_xml_links(period): # Regex matches: href="...zip"> XML link_pattern = re.compile( - r"href=['\"]?(http://ratings\.fide\.com/download/([a-zA-Z0-9_]+\.zip))['\"]?[^>]*>\s*XML\s*", + r"href=['\"]?(https?://ratings\.fide\.com/download/([a-zA-Z0-9_]+\.zip))['\"]?[^>]*>\s*XML\s*", re.IGNORECASE )