aboutsummaryrefslogtreecommitdiff
path: root/pyAggr3g470r.py
diff options
context:
space:
mode:
authorcedricbonhomme <devnull@localhost>2012-03-05 23:55:06 +0100
committercedricbonhomme <devnull@localhost>2012-03-05 23:55:06 +0100
commita6f1a0e7bd88b42d285d35394a198c218cd4a64d (patch)
tree083a5bcecd3a9f8c666d53cc2b3c6e13a5b1ae84 /pyAggr3g470r.py
parentget_all_articles() now returns a list of dict instead of returning a list of ... (diff)
downloadnewspipe-a6f1a0e7bd88b42d285d35394a198c218cd4a64d.tar.gz
newspipe-a6f1a0e7bd88b42d285d35394a198c218cd4a64d.tar.bz2
newspipe-a6f1a0e7bd88b42d285d35394a198c218cd4a64d.zip
search function: work in progress...
Diffstat (limited to 'pyAggr3g470r.py')
-rwxr-xr-xpyAggr3g470r.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py
index aba44f49..feb57881 100755
--- a/pyAggr3g470r.py
+++ b/pyAggr3g470r.py
@@ -372,9 +372,10 @@ class Root:
(feed_id, article.article_id, article.article_title) + \
not_read_end + """<br />\n"""
else:
+ articles = self.mongo.get_all_articles()
for feed in self.feeds.values():
new_feed_section = True
- for article in feed.articles.values():
+ for article in articles:
article_content = utils.clear_string(article.article_description)
if not article_content:
utils.clear_string(article.article_title)
bgstack15