mirror of
https://git.nolog.cz/NoLog.cz/headline.git
synced 2025-01-31 11:53:35 +01:00
stop storing article descriptions
This commit is contained in:
parent
e9b4ee22ce
commit
d70ce2d2dc
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue