aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2016-10-28 07:54:14 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2016-10-28 07:54:14 +0200
commit4833979ec93fb46bf3bba1cc0c59627056f9e8ae (patch)
tree89c3c0060d694fbaea45c06d39459220fa02df9a /src
parentReduce the number of connections. (diff)
downloadnewspipe-4833979ec93fb46bf3bba1cc0c59627056f9e8ae.tar.gz
newspipe-4833979ec93fb46bf3bba1cc0c59627056f9e8ae.tar.bz2
newspipe-4833979ec93fb46bf3bba1cc0c59627056f9e8ae.zip
test
Diffstat (limited to 'src')
-rw-r--r--src/crawler/classic_crawler.py1
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:
bgstack15