# 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='s_product_center']/div[@class='s_hot_right']/div[@class='s_hot_name']/font",
    'price' : "//div[@class='Detail_Right']/ul/li[2]/strong/font",
    'category' : "",
    'description' : "//div[@class='s_product_content']/div[@class='panes']/div",
    'images' : "//meta[@property='og:image']/@content",
    'canonical' : "",
    'base_url' : "//base/@href",
    'brand' : ""
}
name = 'techcity.vn'
allowed_domains = ['techcity.vn']
start_urls = ['http://techcity.vn']
tracking_url = ''
sitemap_urls = ['']
sitemap_rules = [('', 'parse_item')]
sitemap_follow = []
rules = [
    Rule(LinkExtractor(allow=['/Products/']), 'parse_item'),
    Rule(LinkExtractor(allow=['/[a-zA-Z0-9-]+/']), 'parse'),
    #Rule(LinkExtractor(), 'parse_item_and_links'),
]

# 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='s_product_center']/div[@class='s_hot_right']/div[@class='s_hot_name']/font",
    'price' : "//div[@class='Detail_Right']/ul/li[2]/strong/font",
    'category' : "",
    'description' : "//div[@class='s_product_content']/div[@class='panes']/div",
    'images' : "//meta[@property='og:image']/@content",
    'canonical' : "",
    'base_url' : "//base/@href",
    'brand' : ""
}
name = 'techcity.vn'
allowed_domains = ['techcity.vn']
start_urls = ['http://techcity.vn']
tracking_url = ''
sitemap_urls = ['']
sitemap_rules = [('', 'parse_item')]
sitemap_follow = []
rules = [
    Rule(LinkExtractor(allow=['/Products/']), 'parse_item'),
    Rule(LinkExtractor(allow=['/[a-zA-Z0-9-]+/']), 'parse'),
    #Rule(LinkExtractor(), 'parse_item_and_links'),
]

# Auto generated by generator.py. Delete this line if you make modification. #Rule(LinkExtractor(), 'parse_item_and_links'),