摘要: pip install beautifulsoup4 bs4解析网页时报错:bs4.FeatureNotFound: Couldn't find a tree builder with the features you requested: html_parser. Do you need to i 阅读全文
posted @ 2021-10-31 16:13 晨光曦微 阅读(117) 评论(0) 推荐(0) 编辑
摘要: 首先打开cmd: 输入 pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple 直接一步到位,不用费劲巴拉的创文件之类的。 然后贴几个国内源: 阿里云 http://mirrors.aliyun.com/pyp 阅读全文
posted @ 2021-10-31 15:52 晨光曦微 阅读(1084) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/linchenguang/p/14872067.html def crawler(): # 设置cookie cookie = '''cisession=19dfd70a27ec0e t_f805f7762a9a237a0deac37015e9f6d9 阅读全文
posted @ 2021-10-31 14:49 晨光曦微 阅读(193) 评论(0) 推荐(0) 编辑