]> projects.mako.cc - iron-blogger/blobdiff - scan-feeds.py
unpunting mako
[iron-blogger] / scan-feeds.py
index 82438bb1b6c4fceaf6572eec9460cc98e0170157..0cf58f1ea2530001c2cea1edfccc6ae4d501c964 100755 (executable)
@@ -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:

Benjamin Mako Hill || Want to submit a patch?