摘要:
import os #https://jingyan.baidu.com/article/a3761b2bc78d731576f9aaa5.html def get_data(path): print(path) def bianli(rootDir): for root,dirs,files in 阅读全文
摘要:
import lxml.etree as etree # 1). 将html内容转化成xpath可以解析/匹配的格式; #html = """ #<!DOCTYPE html> #<html> #<head lang="en">...... selector = etree.HTML(html) s 阅读全文