# 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[@id='info_detail']/p[@class='dt_name']",
    'price' : "//div[@class='wrap'][2]/div[@class='dt_state'] | //div[@class='wrap'][3]/div[@class='dt_state']",
    'category' : "",
    'description' : "//div[@id='info_detail']/div[@class='des']",
    'images' : "//span[@class='img_detail']/a/img/@src | //div[@id='img_detail_wrapper']/ul/li/a/img/@src",
    'canonical' : "",
    'base_url' : "",
    'brand' : ""
}
name = 'caosang.vn'
allowed_domains = ['caosang.vn']
start_urls = ['http://caosang.vn']
tracking_url = ''
sitemap_urls = ['']
sitemap_rules = [('', 'parse_item')]
sitemap_follow = []
rules = [
    Rule(LinkExtractor(allow=['/product/detail/+\d+\.html']), 'parse_item'),
    Rule(LinkExtractor(allow=['/product/products/+\d+\.html']), 'parse'),
    #Rule(LinkExtractor(), 'parse_item_and_links'),
]
