diff --git a/ci.py b/ci.py index 95b78fa..4458be2 100644 --- a/ci.py +++ b/ci.py @@ -34,7 +34,7 @@ channel_id = config.getint("basic", "channel_id", fallback=channel_id) headers = { "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Safari/537.36" } -client = AsyncClient(timeout=10.0, headers=headers) +client = AsyncClient(timeout=10.0, headers=headers, follow_redirects=True) # 自定义类型