摘要:
#这里只爬取第一页 items.py import scrapy #定义爬取数据 class InsistItem(scrapy.Item): image_urls=scrapy.Field() tengxun.py import scrapy from insist.items import InsistItem import json class TengxunSpider(scrapy.Sp 阅读全文
posted @ 2019-09-20 23:05
晨曦yd
阅读(201)
评论(0)
推荐(0)
摘要:
scrapy startproject insist #创建项目 scrapy genspider teng carees.tencent.com#创建爬虫(爬虫名字+域名) items.py #需要爬取的信息 import scrapy class InsistItem(scrapy.Item): # define the fields for your item here like: posi 阅读全文
posted @ 2019-09-20 08:36
晨曦yd
阅读(492)
评论(0)
推荐(0)

浙公网安备 33010602011771号