Python - Parsing HTML with HTMLParser Module

preview_player
Показать описание
A simple example on how to parse HTML with HTMLParser libs in Python
Рекомендации по теме
Комментарии
Автор

Just what I was looking for - I am using v.3 and needed to import AdvancedHTMLParser but used your code with that one change. Thanks.

CyberAwed
Автор

what verison of python do we need to be running? is it ok if we are running verison 3?

mitchmclaughlin
Автор

mitchell mclaughlin i'm using 2.7, never tried v.3 though

kholidfu