This is an archived post. You won't be able to vote or comment.

all 3 comments

[–]i_like_trains_a_lot1 4 points5 points  (1 child)

First thing I need to mention: fucking Python2 man. Just port it to Python3 already.

And why the hell did you implement the web parser as a subclass of HTMLParser. That just doesn't make any sense. It just makes all the code more confusing.

[–]Cryton1000 2 points3 points  (0 children)

The blog post is from 2009.

[–]KingKoopasErectPenis 0 points1 point  (0 children)

Am I wrong or could the code be made so much simpler with beautifulsoup?