<reponame>chongiadung/choinho<filename>scraper/storage_spiders/chodochoivn.py
# Auto generated by generator.py. Delete this line if you make modification.
from scrapy.spiders import Rule
from scrapy.linkextractors import LinkExtractor

XPATH = {
    'name' : "//table//tr/td[@class='spm-text']/table//tr/td[@class='font-name-product1']",
    'price' : "//td[@class='spm-ten']/span[@class='price']/b",
    'category' : "//span[@class='title-sao']",
    'description' : "//table//tr[6]/td[@class='spm-text']/ul/li",
    'images' : "//table//tr/td[@class='spm-text']/table[1]//tr[3]/td/div/img/@src",
    'canonical' : "",
    'base_url' : "",
    'brand' : ""
}
name = 'chodochoi.vn'
allowed_domains = ['chodochoi.vn']
start_urls = ['http://chodochoi.vn/home/']
tracking_url = ''
sitemap_urls = ['']
sitemap_rules = [('', 'parse_item')]
sitemap_follow = []
rules = [
    Rule(LinkExtractor(allow=['/detail+-\d+.*']), 'parse_item'),
    Rule(LinkExtractor(allow=['/type+-\d+.*']), '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' : "//table//tr/td[@class='spm-text']/table//tr/td[@class='font-name-product1']",
    'price' : "//td[@class='spm-ten']/span[@class='price']/b",
    'category' : "//span[@class='title-sao']",
    'description' : "//table//tr[6]/td[@class='spm-text']/ul/li",
    'images' : "//table//tr/td[@class='spm-text']/table[1]//tr[3]/td/div/img/@src",
    'canonical' : "",
    'base_url' : "",
    'brand' : ""
}
name = 'chodochoi.vn'
allowed_domains = ['chodochoi.vn']
start_urls = ['http://chodochoi.vn/home/']
tracking_url = ''
sitemap_urls = ['']
sitemap_rules = [('', 'parse_item')]
sitemap_follow = []
rules = [
    Rule(LinkExtractor(allow=['/detail+-\d+.*']), 'parse_item'),
    Rule(LinkExtractor(allow=['/type+-\d+.*']), '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'),