摘要:
from openpyxl import Workbook class TuniuPipeline(object): # 设置工序一 self.wb = Workbook() self.ws = self.wb.active self.ws.append(['新闻标题', '新闻链接', '来源网站 阅读全文
posted @ 2021-11-20 11:18
myrj
阅读(47)
评论(0)
推荐(0)
摘要:
self.meta = { 'dont_redirect': True, # 禁止网页重定向 'handle_httpstatus_list': [301, 302] # 对哪些异常返回进行处理 } def start_requests(self): sql="select * from lpwz 阅读全文
posted @ 2021-11-20 09:54
myrj
阅读(236)
评论(0)
推荐(0)

浙公网安备 33010602011771号