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)
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: