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

XPATH = {
    'name' : "//h3[@class='title-product']",
    'price' : "//div[@class='content-rights']/div[@class='content']/ul/li[4]/strong",
    'category' : "//li[@class='menu-item current-menu-item']/a/span[@class='wpmega-link-title']",
    'description' : "//div[@class='description']//p",
    'images' : "//a[@class='service']/img/@src",
    'canonical' : "",
    'base_url' : "",
    'brand' : ""
}
name = 'baoduongxe.vn'
allowed_domains = ['baoduongxe.vn']
start_urls = ['http://baoduongxe.vn/']
tracking_url = ''
sitemap_urls = ['']
sitemap_rules = [('', 'parse_item')]
sitemap_follow = []
rules = [
    Rule(LinkExtractor(allow=['/product/view/\d+/[a-zA-Z0-9-]+\.html$']), 'parse_item'),
    Rule(LinkExtractor(allow=['/products/\d+/[a-zA-Z0-9-]+\.html$']), 'parse'),
    #Rule(LinkExtractor(), 'parse_item_and_links'),
]
