2019年7月24日
摘要: import requestsfrom lxml import etreeimport jsonimport timeclass Toutiao(object): def __init__(self): self.headers = { 'user-agent': 'Mozilla/5.0 (Win 阅读全文
posted @ 2019-07-24 12:48 Yihan_07 阅读(342) 评论(0) 推荐(0) 编辑
摘要: import reimport urllib.requestclass Picture(object): def run(self): # 定义变量url 获取要下载图片的地址 url = "http://www.txt100.com/bbrvtwyhknv/85774146.html" respo 阅读全文
posted @ 2019-07-24 12:47 Yihan_07 阅读(182) 评论(0) 推荐(0) 编辑