这个为什么AttributeError: module 'urllib.request' has no attribute 'get',求大佬帮忙,怎么改
意思是request包中没有get函数,是不是用urlopen啊
你是导入的urllib库的urllib.request,用法是urllib.request.urlopen(url)
https://blog.csdn.net/qq_43546676/article/details/88777227
request.get(url, headers=headers) 改为 request.urlopen(url, headers=headers)