Commit 6fa88c1d authored by Vasyl Bodnaruk's avatar Vasyl Bodnaruk

Delete newspaper tags calculating

parent c15d2db9
......@@ -49,8 +49,6 @@ class ExaPipeline(object):
article = self.get_article(item['url'])
text = article.text
tags = self.get_tags(text)
if spider.name == 'cb':
item['tags'] = article.tags
news = self.insert_news(item, tags, text)
self.update_ml_data(news, item['tags'])
......
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