From 203d6653c25235be5c53471f2442d3f7f1b4452f Mon Sep 17 00:00:00 2001 From: Akira Takahashi Date: Wed, 16 Oct 2024 15:37:44 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=AA=E3=83=B3=E3=82=AF=E3=83=81=E3=82=A7?= =?UTF-8?q?=E3=83=83=E3=82=AFCI=20:=20=E5=A4=96=E9=83=A8=E3=83=AA=E3=83=B3?= =?UTF-8?q?=E3=82=AF=E3=83=81=E3=82=A7=E3=83=83=E3=82=AF=E3=82=92=E9=AB=98?= =?UTF-8?q?=E9=80=9F=E5=8C=96=E3=80=822=E5=80=8D=E8=BF=91=E3=81=8F?= =?UTF-8?q?=E3=81=AF=E9=80=9F=E3=81=8F=E3=81=AA=E3=81=A3=E3=81=9F=E3=81=AF?= =?UTF-8?q?=E3=81=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/script/link_check.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/script/link_check.py b/.github/workflows/script/link_check.py index fcb0c078f8..30c9286ddd 100644 --- a/.github/workflows/script/link_check.py +++ b/.github/workflows/script/link_check.py @@ -18,7 +18,7 @@ def retry_sleep(): def check_url(url: str, retry: int = 5) -> (bool, str): try: headers = {'User-agent': 'Mozilla/5.0'} - res = requests.get(url, headers=headers, verify=False, timeout=60.0) + res = requests.head(url, headers=headers, verify=False, timeout=60.0) if res.url: if res.url == url: return res.status_code != 404, "404"