aboutsummaryrefslogtreecommitdiff
path: root/manager.py
diff options
context:
space:
mode:
Diffstat (limited to 'manager.py')
-rwxr-xr-xmanager.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/manager.py b/manager.py
index 020a0f4c..e2dc863b 100755
--- a/manager.py
+++ b/manager.py
@@ -27,11 +27,11 @@ def db_create():
pyaggr3g470r.models.db_create(db)
@manager.command
-def fetch(user, password, limit=100):
+def fetch(user, password, limit=100, retreive_all=False):
"Crawl the feeds with the client crawler."
from pyaggr3g470r.lib.crawler import CrawlerScheduler
scheduler = CrawlerScheduler(user, password)
- scheduler.run(limit=limit)
+ scheduler.run(limit=limit, retreive_all=retreive_all)
scheduler.wait()
@manager.command
@@ -61,4 +61,4 @@ def fetch_asyncio(user_id, feed_id):
feed_getter = crawler.retrieve_feed(user, feed_id)
if __name__ == '__main__':
- manager.run() \ No newline at end of file
+ manager.run()
bgstack15