From 5fbe139a02fade9bdcb1007033942f64cf0f6003 Mon Sep 17 00:00:00 2001 From: Agathe029 <124676017+Agathe029@users.noreply.github.com> Date: Thu, 3 Jul 2025 13:48:10 +0200 Subject: [PATCH] Update utils.py Update the Server's url to "github.com", in lowercase instead of "GitHub.com". --- utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils.py b/utils.py index 19e2d00..4a7798a 100644 --- a/utils.py +++ b/utils.py @@ -40,9 +40,9 @@ def is_valid_github_url(url): response = requests.get(url) if response.status_code != 200: return False - if response.headers.get('Server') != 'GitHub.com': + if response.headers.get('Server') != 'github.com': return False return True except: print("This is not a valid GitHub repository URL") - return False \ No newline at end of file + return False