diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-10-28 07:54:14 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-10-28 07:54:14 +0200 |
commit | 4833979ec93fb46bf3bba1cc0c59627056f9e8ae (patch) | |
tree | 89c3c0060d694fbaea45c06d39459220fa02df9a | |
parent | Reduce the number of connections. (diff) | |
download | newspipe-4833979ec93fb46bf3bba1cc0c59627056f9e8ae.tar.gz newspipe-4833979ec93fb46bf3bba1cc0c59627056f9e8ae.tar.bz2 newspipe-4833979ec93fb46bf3bba1cc0c59627056f9e8ae.zip |
test
-rw-r--r-- | src/crawler/classic_crawler.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/crawler/classic_crawler.py b/src/crawler/classic_crawler.py index c124a667..fcbbe22b 100644 --- a/src/crawler/classic_crawler.py +++ b/src/crawler/classic_crawler.py @@ -79,6 +79,7 @@ async def parse_feed(user, feed): except Exception as e: up_feed['last_error'] = str(e) up_feed['error_count'] = feed.error_count + 1 + print(up_feed['error_count']) finally: up_feed['last_retrieved'] = datetime.now(dateutil.tz.tzlocal()) if parsed_feed is None: |