You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
579 B
22 lines
579 B
# Define here the models for your scraped items
|
|
#
|
|
# See documentation in:
|
|
# https://docs.scrapy.org/en/latest/topics/items.html
|
|
|
|
import scrapy
|
|
|
|
|
|
class VideoItem(scrapy.Item):
|
|
title = scrapy.Field() # 视频名
|
|
view_counts = scrapy.Field() # 播放量
|
|
barrage = scrapy.Field() # 弹幕数
|
|
up = scrapy.Field() # up主
|
|
|
|
|
|
class BiliItem(scrapy.Item):
|
|
title = scrapy.Field() # 视频名
|
|
view_counts = scrapy.Field() # 播放量
|
|
evaluate = scrapy.Field() # 评分
|
|
attention = scrapy.Field() # 追番数
|
|
barrage = scrapy.Field() # 弹幕数
|