stop storing article descriptions

This commit is contained in:
mdivecky 2022-08-25 17:08:08 +02:00
parent e9b4ee22ce
commit d70ce2d2dc

View file

@ -88,12 +88,12 @@ for feed in config['feeds']:
for item in rss['entries']: for item in rss['entries']:
rss_id = item[unique_tag] rss_id = item[unique_tag]
title = item['title'] title = item['title']
description = item['description'] #description = item['description'] ## Don't store description for now, as we don't need it and it's big.
published = time.strftime('%Y:%m:%d %H:%M:%S %Z %z', item['published_parsed']) published = time.strftime('%Y:%m:%d %H:%M:%S %Z %z', item['published_parsed'])
link = item['link'] link = item['link']
article_data = { article_data = {
'title' : title, 'title' : title,
'description': description, #'description': description,
'published' : published, 'published' : published,
'link' : link, 'link' : link,
'medium' : name 'medium' : name