From c52dd25e91a91411f1096d68fd344702e6561668 Mon Sep 17 00:00:00 2001 From: B1ue1nWh1te <708968728@qq.com> Date: Fri, 7 Jan 2022 20:53:28 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20[#15]=20=E4=B8=AD?= =?UTF-8?q?=E6=8F=90=E5=88=B0=E7=9A=84=E6=97=A0=E6=B3=95=E8=8E=B7=E5=8F=96?= =?UTF-8?q?=E8=AF=BE=E7=A8=8B=E5=88=97=E8=A1=A8=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- automaton/spider/spider.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automaton/spider/spider.py b/automaton/spider/spider.py index 96ecbe8..09767db 100644 --- a/automaton/spider/spider.py +++ b/automaton/spider/spider.py @@ -25,7 +25,7 @@ class Tree: # 任务树 class Spider(httpx.AsyncClient): def __init__(self): - super().__init__() + super().__init__(follow_redirects=True) self.is_login = False async def login(self, username, password):