Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如果遇到 SSL Error,请修改下代码 #1

Open
Germey opened this issue Jan 11, 2022 · 1 comment
Open

如果遇到 SSL Error,请修改下代码 #1

Germey opened this issue Jan 11, 2022 · 1 comment

Comments

@Germey
Copy link
Member

Germey commented Jan 11, 2022

参考:aio-libs/aiohttp#955 (comment)

@johnsonwangzs
Copy link

是这样。也可以直接在async with self.session.get(url) as response:的get方法里加上参数ssl=False

p.s. 老师的书写的真好,下一版里要是能多解释一下asyncio.gather()方法就更完美了~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants