The blog of a Network Analyst who plays around with many things open source when he is not feeding his MMORPG addiction.
RSS icon Email icon Home icon
  • Backing Up Bloglines Subscriptions

    Posted on May 19th, 2008 Bruce No comments

    Bloglines, an online RSS feed reader, offers an easy way to export your RSS feed subscriptions in OPML format. The following extremely trivial Python script will spit out the OPML file to stdout:

    #!/usr/bin/python
    import mechanize
    
    b = mechanize.Browser()
    
    b.open("https://www.bloglines.com/export")
    
    b.select_form(name="login")
    b["email"] = "email@address"
    b["password"] = "password"
    b.submit()
    
    print b.response().read()
    

    Hopefully this will save someone else a few minutes of their time…

    Comments are closed.