ml-finance-python

python scripts for finance machine learning

git clone https://9o.is/git/ml-finance-python.git

items.py

(363B)


      1 # -*- coding: utf-8 -*-
      2 
      3 # Define here the models for your scraped items
      4 #
      5 # See documentation in:
      6 # https://doc.scrapy.org/en/latest/topics/items.html
      7 
      8 from scrapy import Field, Item
      9 
     10 
     11 class OpentableItem(Item):
     12     name = Field()
     13     price = Field()
     14     bookings = Field()
     15     cuisine = Field()
     16     location = Field()
     17     reviews = Field()
     18     rating = Field()