# Define here the models for your scraped items
#
# See documentation in:
# https://docs.scrapy.org/en/latest/topics/items.html

from scrapy.item import Field, Item


class ActressItem(Item):
    name = Field()              # 日文名
    former_names = Field()      # 曾用名，为数组
    chinese_name = Field()      # 中文名
    avatar = Field()            # 头像网址
    javbus_href = Field()       # javbus站的演员网址
    uncensored = Field()        # 是否下马
    rank = Field()              # 排名

class PortfolioItem(Item):
    actress = Field()           # 演员
    avno = Field()              # 番号
    name = Field()              # 影片名
    date = Field()              # 日期
    javbus_href = Field()       # javbus站的影片网址
    javbus_tags = Field()       # javbus站的影片标签

class MovieItem(Item):
    avno = Field()              # 番号
    date = Field()              # 发行日期
    cover = Field()             # 封面网址
    footage = Field()           # 片长
    title = Field()             # 片名
    director = Field()          # 导演
    maker = Field()             # 制作商
    publisher = Field()         # 发行商
    series = Field()            # 系列
    actresses = Field()         # 演员表
    genres = Field()            # 影片类型
    uncensored = Field()        # 是否无码
    samples = Field()           # 样品图像
    javbus_gid = Field()        # javbus站的磁力链接id
    # https://www.javbus.com/ajax/uncledatoolsbyajax.php?gid=50951564710&lang=zh&uc=0
    # Headers:
    #   Referer https://www.javbus.com

class MagnetItem(Item):
    avno = Field()              # 番号
    link = Field()              # 磁力链接
    title = Field()             # 种子标题
    size = Field()              # 内容大小
    date = Field()              # 磁力链接日期
    tags = Field()              # 标签
