摘要: # 本爬虫为爬取百度贴吧并存储HTMLimport requests class TiebaSpider: def __init__(self, tieba_name): self.tieba_name = tieba_name self.url = "https://tieba.baidu.com 阅读全文
posted @ 2020-10-30 04:46 止一 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 1 import requests 2 import json 3 import csv 4 5 6 class DoubantvSpider: 7 def __init__(self): 8 # self.proxies = {"http":"http://125.123.152.81:3000" 阅读全文
posted @ 2020-10-30 04:43 止一 阅读(230) 评论(0) 推荐(0) 编辑