<reponame>chongiadung/choinho<gh_stars>0
# 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='clus']/h2[@class='nomargin title_sp']",
    'price' : "//h2[@class='nomargin']/font",
    'category' : "//div[@class='head_title_center']/div[@class='sp_detai']/a",
    'description' : "//div[@class='clus']/div[@id='user_post_view']/p",
    'images' : "//div[@class='box_nullstyle']/a[@class='lightbox']/img/@src",
    'canonical' : "",
    'base_url' : "",
    'brand' : ""
}
name = '<EMAIL>'
allowed_domains = ['vanphongphamanhkhoa.com']
start_urls = ['http://vanphongphamanhkhoa.com/']
tracking_url = ''
sitemap_urls = ['']
sitemap_rules = [('', 'parse_item')]
sitemap_follow = []
rules = [
    Rule(LinkExtractor(allow=['/view_product+-\d+/']), 'parse_item'),
    Rule(LinkExtractor(allow=['/products-\d+/[a-zA-Z0-9-]+/($|\d\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' : "//div[@class='clus']/h2[@class='nomargin title_sp']",
    'price' : "//h2[@class='nomargin']/font",
    'category' : "//div[@class='head_title_center']/div[@class='sp_detai']/a",
    'description' : "//div[@class='clus']/div[@id='user_post_view']/p",
    'images' : "//div[@class='box_nullstyle']/a[@class='lightbox']/img/@src",
    'canonical' : "",
    'base_url' : "",
    'brand' : ""
}
name = '<EMAIL>'
allowed_domains = ['vanphongphamanhkhoa.com']
start_urls = ['http://vanphongphamanhkhoa.com/']
tracking_url = ''
sitemap_urls = ['']
sitemap_rules = [('', 'parse_item')]
sitemap_follow = []
rules = [
    Rule(LinkExtractor(allow=['/view_product+-\d+/']), 'parse_item'),
    Rule(LinkExtractor(allow=['/products-\d+/[a-zA-Z0-9-]+/($|\d\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'),