Skip to content

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

@gclsoft

Description

@gclsoft
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'

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions