Parsing URLs in Python | Hacker News Reader