pyhon爬取东方文学小说【多线程】【正则表达式】【re】
pyhon爬取东方文学小说【多线程】【正则表达式】【re】
用到的模块
import requests
import re
from concurrent.futures import ThreadPoolExecutor #线程池类
获取目录和每一章url
def book_url(url):
charter_name = []
charter_url = []
原创
2021-04-05 21:09:26 ·
233 阅读 ·
2 评论