Commit 56b7c57d authored by Mario Chirinos's avatar Mario Chirinos

grillo

parent b74826da
......@@ -49,7 +49,7 @@ class NoticiasSpider(scrapy.Spider):
nt = remove_tags(p).replace("\n","").replace("\r","").strip()
text+=nt
if len(nt)>0:
text+="\n"
text+="\n "
item['text'] = text.strip()
item['topic'] = response.xpath('//div[@class="entry-crumbs"]/span[2]/a/text()').extract_first()
item['url'] = response.url
......
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