Using python to parse html
Introduction
When you use python to crawl web pages, you can use HTMLParser to parse html documents. This time, let's see how to use this thing.
Actual combat
Please watch the video for how to get the source code.
Address: http://v.youku.com/v_show/id_XMzEyMzA0MTM5Mg==.html
Expansion
In fact, Beautiful Soup is better to do this thing, oh, interested friends can study it, and welcome to contribute to us.