items.py 498 B

123456789101112131415161718192021222324
  1. # -*- coding: utf-8 -*-
  2. # Define here the models for your scraped items
  3. #
  4. # See documentation in:
  5. # http://doc.scrapy.org/en/latest/topics/items.html
  6. import scrapy
  7. from astropy.io.votable.tree import Field
  8. class ShlibItem(scrapy.Item):
  9. # define the fields for your item here like:
  10. # name = scrapy.Field()
  11. #书名
  12. book_id=Field()
  13. bookname=Field()
  14. url=Field()
  15. desc=Field()
  16. address=Field()
  17. booknum=Field()
  18. status=Field()
  19. type=Field()
  20. barcode=Field()