diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2015-02-04 21:25:59 +0100 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2015-02-04 21:25:59 +0100 |
commit | 56111f6b0a7bafa09e5cbe18617d9e5cba4d0229 (patch) | |
tree | fdfd091428791f437ee96c28d076ab819601c9e3 /pyaggr3g470r/crawler.py | |
parent | Get the feeds with aiohttp. (diff) | |
download | newspipe-56111f6b0a7bafa09e5cbe18617d9e5cba4d0229.tar.gz newspipe-56111f6b0a7bafa09e5cbe18617d9e5cba4d0229.tar.bz2 newspipe-56111f6b0a7bafa09e5cbe18617d9e5cba4d0229.zip |
Fetch all feeds of the list (not only the first 20 feeds).
Diffstat (limited to 'pyaggr3g470r/crawler.py')
-rw-r--r-- | pyaggr3g470r/crawler.py | 2 |
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] |