摘要: # 爬取百度10页的标题 import urllib.request import re import urllib.parse from bs4 import BeautifulSoup def build_onepage_crawl_function(keyword, number_of_pag 阅读全文
posted @ 2022-05-13 13:50 极客船长 阅读(508) 评论(0) 推荐(0) 编辑
摘要: # 爬取百度10页的标题 import urllib.request import re import urllib.parse from bs4 import BeautifulSoup def build_onepage_crawl_function(keyword, number_of_pag 阅读全文
posted @ 2022-05-13 00:15 极客船长 阅读(213) 评论(0) 推荐(0) 编辑
摘要: 我们可以直接在 pip 命令中使用 -i 参数来指定镜像地址 pip3 install bs4 -i https://pypi.tuna.tsinghua.edu.cn/simple 阅读全文
posted @ 2022-05-13 00:03 极客船长 阅读(34) 评论(0) 推荐(0) 编辑