2021年8月14日

python爬虫笔记(4-2)bs4模块实例

摘要: 实例来源:https://www.bilibili.com/video/BV1i54y1h75W?p=1 # 爬取新发地菜价 from bs4 import BeautifulSoup import requests import csv # 拿到菜价页面源代码 url = "http://www. 阅读全文

posted @ 2021-08-14 16:04 坐看浮云飘飘飘 阅读(341) 评论(0) 推荐(0) 编辑

python爬虫笔记(4-1)bs4模块

摘要: 参考:https://www.jianshu.com/p/9254bdc467b2 说明: Beautiful Soup 4.4.0 文档: https://beautifulsoup.readthedocs.io/zh_CN/latest/ 它的作用是能够简单快速地提取网页中指定的内容,用requ 阅读全文

posted @ 2021-08-14 11:06 坐看浮云飘飘飘 阅读(118) 评论(0) 推荐(0) 编辑

导航