X-Git-Url: https://projects.mako.cc/source/iron-blogger/blobdiff_plain/7c4f8245a512bf335fcda0fa0cf8764810ec7334..ab6966baf120f059c56d1f3185e65988e2adbb0b:/import-feeds.py?ds=inline diff --git a/import-feeds.py b/import-feeds.py index a54fef8..9d4f9bb 100755 --- a/import-feeds.py +++ b/import-feeds.py @@ -21,17 +21,14 @@ def fetch_links(url): return links[0].attrib['href'] for (name, u) in users.items(): - print "[%s]" % name for e in u['links']: (title, url) = e[0:2] - print " - %s:" % title.strip() e[0] = e[0].strip() if len(e) == 3: continue link = fetch_links(url) if not link.startswith('http:'): link = urlparse.urljoin(url, link) - print " %s" % (link,) e.append(link) with open('bloggers.yml', 'w') as f: