X-Git-Url: https://projects.mako.cc/source/iron-blogger/blobdiff_plain/fccb5948cff4ebd9d6407238eba681ac6d6d13a9..1bf6ede7da37c740e5bcda76fb1f339bec646913:/scan-feeds.py?ds=sidebyside 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: