diff --git a/oneforall/common/request.py b/oneforall/common/request.py index 49b072f..bcc3dcc 100644 --- a/oneforall/common/request.py +++ b/oneforall/common/request.py @@ -74,7 +74,7 @@ async def fetch(session, url, semaphore): try: text = await resp.text(encoding='gb2312') # 先尝试用fb2312解码 except UnicodeDecodeError: - text = await resp.text() + text = await resp.text(errors='ignore') return resp, text