<gh_stars>0
# Auto generated by generator.py. Delete this line if you make modification.
from scrapy.spiders import Rule
from scrapy.linkextractors import LinkExtractor

XPATH = {
    'name' : "//div[@class='block']/h1",
    'price' : "//div[@class='prices_contener']/div[@class='prices']/div[@class='saleprice']/span[@id='saleprice']",
    'category' : "//div[@class='pathway']/ul/li/a",
    'description' : "//div[@id='layoutGroup1']/div[@class='block']",
    'images' : "//div[@class='image_contenner']//img/@src",
    'canonical' : "",
    'base_url' : "",
    'brand' : "//div[@class='product_info']/div[@class='viewfields']/span[2]/a"
}
name = 'davibooks.vn'
allowed_domains = ['davibooks.vn']
start_urls = ['http://davibooks.vn']
tracking_url = ''
sitemap_urls = ['']
sitemap_rules = [('', 'parse_item')]
sitemap_follow = []
rules = [
    Rule(LinkExtractor(allow=['/view/']), 'parse_item'),
    Rule(LinkExtractor(allow=['/products/.+\.html($|\?page=\d+)$'], deny=['time=']), 'parse'),
    #Rule(LinkExtractor(), 'parse_item_and_links'),
]
