摘要: PyQuery数据解析 1、导入 from pyquery import PyQuery 2、创建PyQuery对象 p = PyQuery("页面源代码") 3、定位 # 用法 a = p("css选择器") a = p("a") # 选择a标签 a = p("li")("a") # 选择li下的 阅读全文
posted @ 2023-04-12 16:22 同淋雪 阅读(59) 评论(0) 推荐(0)