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 defaultTitle']/h1",
      'price' : "//div[@class='Value']/em[@class='ProductPrice VariationProductPrice']",
      'category' : "//div[@class='Breadcrumb']/ul/li/a",
      'description' : "//div[@class='BlockContent']/div[@class='Block Panel ProductDescription']",
      'images' : "//div[@class='ProductThumb']/div[@class='ProductThumbImage']/a[1]/@href",
      'canonical' : "//link[@rel='canonical']/@href",
      'base_url' : "",
      'brand' : "",
      'in_stock' : "",
      'guarantee' : ""
  }
  name = 'legovietnam.vn'
  allowed_domains = ['legovietnam.vn']
  start_urls = ['http://legovietnam.vn/']
  tracking_url = ''
  sitemap_urls = ['']
  sitemap_rules = [('', 'parse_item')]
  sitemap_follow = ['']
  rules = [
      Rule(LinkExtractor(allow=['/[a-zA-Z0-9-]+-\d+\.html$']), 'parse_item'),
      Rule(LinkExtractor(allow=['/[a-zA-Z0-9-]+-b\d+\.html($|\?pn=\d+$)']), 'parse'),
      #Rule(LinkExtractor(), 'parse_item_and_links'),
  ]
  