Hacker News new | ask | show | jobs
by eli173 3674 days ago
I decided to try it.

https://gist.github.com/eli173/c089c27db9c1302fe4e003716b402...

Perhaps I am the kind of person they are trying to avoid, but I did this in a bit less than an hour. I am very ignorant of the Python library ecosystem, so if I had known the request library better and if I knew an html parsing library, I may have been able to complete this in the time limit. I also suspect there are a few cases which break my solution.

1 comments

> if I knew an html parsing library

Beautiful soup https://pypi.python.org/pypi/beautifulsoup4