def parse_item(self, response):
    try:
        item = ScrapySpiderItem()
        item['url'] = response.url
        date = response.xpath('/html/body/div[2]/div/div/div[1]/p').extract_first()
        date = re.search('(\\d{4}-\\d{2}-\\d{2})', date).groups()[0]
        item['date'] = date
        title = response.xpath('/html/body/div[2]/div/div/div[1]/h2[1]/text()').extract_first()
        item['title'] = title
        contents = response.xpath('//div[@class="article-con"]').extract()
        item['contents'] = extract_CN_from_content(contents)
        return item
    except:
        try:
            item = ScrapySpiderItem()
            item['url'] = response.url
            date = response.xpath('/html/body/div[2]/div/div/div[2]/p').extract_first()
            date = re.search('(\\d{4}-\\d{2}-\\d{2})', date).groups()[0]
            item['date'] = date
            title = response.xpath('/html/body/div[2]/div/div/div[2]/h2/text()').extract_first()
            item['title'] = title
            contents = response.xpath('//div[@class="article-con"]').extract()
            item['contents'] = extract_CN_from_content(contents)
            return item
        except:
            try:
                item = ScrapySpiderItem()
                item['url'] = response.url
                date = response.xpath('/html/body/div[3]/div[2]/div/div[1]/ul/li[8]').extract_first()
                date = re.search('(\\d{4}年\\d{2}月\\d{2}日)', date).groups()[0]
                item['date'] = date
                title = response.xpath('/html/body/div[3]/div[2]/div/div[1]/ul/li[6]/text()').extract_first()
                item['title'] = title
                contents = response.xpath('//div[@class="article-body"]').extract()
                item['contents'] = extract_CN_from_content(contents)
                return item
            except:
                pass
def parse_item(self, response):
    try:
        item = ScrapySpiderItem()
        item['url'] = response.url
        date = response.xpath('/html/body/div[2]/div/div/div[1]/p').extract_first()
        date = re.search('(\\d{4}-\\d{2}-\\d{2})', date).groups()[0]
        item['date'] = date
        title = response.xpath('/html/body/div[2]/div/div/div[1]/h2[1]/text()').extract_first()
        item['title'] = title
        contents = response.xpath('//div[@class="article-con"]').extract()
        item['contents'] = extract_CN_from_content(contents)
        return item
    except:
        try:
            item = ScrapySpiderItem()
            item['url'] = response.url
            date = response.xpath('/html/body/div[2]/div/div/div[2]/p').extract_first()
            date = re.search('(\\d{4}-\\d{2}-\\d{2})', date).groups()[0]
            item['date'] = date
            title = response.xpath('/html/body/div[2]/div/div/div[2]/h2/text()').extract_first()
            item['title'] = title
            contents = response.xpath('//div[@class="article-con"]').extract()
            item['contents'] = extract_CN_from_content(contents)
            return item
        except:
            try:
                item = ScrapySpiderItem()
                item['url'] = response.url
                date = response.xpath('/html/body/div[3]/div[2]/div/div[1]/ul/li[8]').extract_first()
                date = re.search('(\\d{4}年\\d{2}月\\d{2}日)', date).groups()[0]
                item['date'] = date
                title = response.xpath('/html/body/div[3]/div[2]/div/div[1]/ul/li[6]/text()').extract_first()
                item['title'] = title
                contents = response.xpath('//div[@class="article-body"]').extract()
                item['contents'] = extract_CN_from_content(contents)
                return item
            except:
                pass