记录一下,如图报错:HTTPSConnectionPool(host=’’, port=): Max retries exceeded with url: /wikitag/taglist?tagId=76602 (Caused by SSLError(“Can’t connect to HTTPS URL because the SSL module is not available.”))
网上方法试了很多都不可行,最后在大佬提示下使用cmd运行该文件爬取成功
我使用的是VSC编辑器,使用了anaconda,大概是anaconda的锅,貌似win10 anaconda python中SSL是无法正常使用的