摘要:
1、导入模块 import requests import csv from concurrent.futures import ThreadPoolExecutor 2、先获取第一个页面的内容 分析得到该页面的数据是从getPriceData.html页面获取,并保存在csv文件中 得到url地址 阅读全文
摘要:
一、安装Chromedriver: 1、下载Chromedriver地址: http://chromedriver.storage.googleapis.com/index.html 2、版本选择 第一种: 点击Chrome右上角 第二种: 浏览器上输入:chrome://version/ 选择对应 阅读全文
摘要:
1、 导入模块 import requests import re 2、获取m3u8文件 # url地址 url = 'http://www.wwmulu.com/rj/xhcl/play-1-1.html' # 正则表达式 obj = re.compile(r'<span class="ff-pl 阅读全文
摘要:
1、 导入模块 import requests from lxml import etree 2、获取小说名字以及章节地址 # 请求路由地址 b_resp = requests.get(b_url, headers=headers) # 网页编码设置 b_resp.encoding = 'gb180 阅读全文