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

报错了AttributeError: 'backports.zoneinfo.ZoneInfo' object has no attribute 'localize' #16

Open
gclsoft opened this issue Sep 4, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@gclsoft
Copy link

gclsoft commented Sep 4, 2021

path  = "logs/生成过内容的记录表单.csv" # 文件保存路径
WebSite = "sohu.com" # 网站主页链接
Url = "https://www.sohu.com/a/419892530_603537" # 具体内容链接
Title = extract_detail(requests.get(Url).text)["title"] # 文章的标题

报错了 AttributeError: 'backports.zoneinfo.ZoneInfo' object has no attribute 'localize'

@gclsoft gclsoft added the bug Something isn't working label Sep 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants