Commit 673e21e0 authored by Mario Chirinos's avatar Mario Chirinos

Jornada AGS date

parent bf10fdfb
......@@ -39,7 +39,7 @@ class NoticiasSpider(scrapy.Spider):
for p in response.css('div.entry-content > p').extract():
text += remove_tags(p) + '\n'
item['date'] = response.xpath('//meta[@property="og:updated_time"]/@content').extract_first()
item['date'] = self.date #response.xpath('//meta[@property="og:updated_time"]/@content').extract_first()
item['title'] = response.xpath('//h1[@class="page-title"]/text()').extract_first()
item['topic'] = response.xpath('//meta[@property="article:section"]/@content').extract_first()
item['text'] = text
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment