aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2015-02-04 21:25:59 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2015-02-04 21:25:59 +0100
commit56111f6b0a7bafa09e5cbe18617d9e5cba4d0229 (patch)
treefdfd091428791f437ee96c28d076ab819601c9e3
parentGet the feeds with aiohttp. (diff)
downloadnewspipe-56111f6b0a7bafa09e5cbe18617d9e5cba4d0229.tar.gz
newspipe-56111f6b0a7bafa09e5cbe18617d9e5cba4d0229.tar.bz2
newspipe-56111f6b0a7bafa09e5cbe18617d9e5cba4d0229.zip
Fetch all feeds of the list (not only the first 20 feeds).
-rw-r--r--pyaggr3g470r/crawler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/crawler.py b/pyaggr3g470r/crawler.py
index 27f5a200..dea06b64 100644
--- a/pyaggr3g470r/crawler.py
+++ b/pyaggr3g470r/crawler.py
@@ -201,7 +201,7 @@ def retrieve_feed(user, feed_id=None):
# 1 - Get the list of feeds to fetch
user = User.query.filter(User.email == user.email).first()
- feeds = [feed for feed in user.feeds if feed.enabled][:20]
+ feeds = [feed for feed in user.feeds if feed.enabled]
if feed_id is not None:
feeds = [feed for feed in feeds if feed.id == feed_id]
bgstack15