From 5537bc32dfcc718d598186c7cbe06cff653f9a79 Mon Sep 17 00:00:00 2001 From: snowykami Date: Tue, 17 Sep 2024 15:45:43 +0800 Subject: [PATCH] =?UTF-8?q?:package:=20docs:=20=E8=B5=84=E6=BA=90=E5=95=86?= =?UTF-8?q?=E5=BA=97=E6=96=B0=E5=A2=9E=E5=8F=91=E5=B8=83=E8=B5=84=E6=BA=90?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- liteyuki_flow/resource_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/liteyuki_flow/resource_handler.py b/liteyuki_flow/resource_handler.py index 35110e24..d80efda8 100644 --- a/liteyuki_flow/resource_handler.py +++ b/liteyuki_flow/resource_handler.py @@ -14,7 +14,7 @@ from liteyuki_flow.const import OPENED, EDITED, CLOSED, REOPENED, RESOURCE_JSON, from liteyuki_flow.markdown_parser import MarkdownParser from liteyuki_flow.typ import err, nil -user_agent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.3" +user_agent = "liteyuki-flow" headers = { "User-Agent": user_agent