text: # 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='product-title']/h1",
      'price' : "//div[@id='wrapper-detail']/div[@class='row']/div/div[@class='product-price']/span",
      'category' : "",
      'description' : "//div[@class='product-comment']/div[@id='mota']",
      'images' : "//div[@id='surround']/img[@class='product-image-feature']/@src",
      'canonical' : "//link[@rel='canonical']/@href",
      'base_url' : "",
      'brand' : ""
  }
  name = 'damviet.net'
  allowed_domains = ['damviet.net']
  start_urls = ['http://damviet.net/']
  tracking_url = ''
  sitemap_urls = ['']
  sitemap_rules = [('', 'parse_item')]
  sitemap_follow = ['']
  rules = [
      Rule(LinkExtractor(allow=['/products/[a-zA-Z0-9-]+$']), 'parse_item'),
      Rule(LinkExtractor(allow=['/collections/[a-zA-Z0-9-]+($|\?page=\d+$)']), 'parse'),
      #Rule(LinkExtractor(), 'parse_item_and_links'),
  ]
  