X-Git-Url: https://projects.mako.cc/source/iron-blogger/blobdiff_plain/fccb5948cff4ebd9d6407238eba681ac6d6d13a9..c74c51b8304cb1240b5ad8e15fb2c5cdd6c4bb33:/scan-feeds.py?ds=inline diff --git a/scan-feeds.py b/scan-feeds.py index 82438bb..0cf58f1 100755 --- a/scan-feeds.py +++ b/scan-feeds.py @@ -15,7 +15,7 @@ try: except IOError: log = {} -START = datetime.datetime(2009, 12, 21, 6) +START = datetime.datetime(2011, 10, 24, 6) def parse_published(pub): return parse(pub).astimezone(tz.tzlocal()).replace(tzinfo=None) @@ -30,6 +30,9 @@ def get_link(post): def parse_feeds(weeks, uri): feed = feedparser.parse(uri) + + print >>sys.stderr, "Parsing: %s" % uri + if not feed.entries: print >>sys.stderr, "WARN: no entries for ", uri for post in feed.entries: