摘要: # -*- coding:UTF-8 -*-from bs4 import BeautifulSoupimport requests, sys"""类说明:下载《笔趣看》网小说"""class downloader(object): def __init__(self, target): self. 阅读全文
posted @ 2021-07-12 16:48 Lee597 阅读(249) 评论(0) 推荐(0)
摘要: import requests # 导入requests包def HTML_GET(URL): # 用 GET 方式获取数据需要调用 requests 库中的 get 方法,将获取到的数据存到 strhtml 变量中 strhtml = requests.get(url) # Get方式获取网页数据 阅读全文
posted @ 2021-07-12 15:01 Lee597 阅读(694) 评论(0) 推荐(0)