html.parser is correct also on python2.7
Just place this on top of the file
Please use future and don't use bad coding style with try and except
I have test the plugin v0.1-r1 on DP-Image for OE2.6 (One) and OE2.5 (dm920) with no problems on this import:
from html.parser import HTMLParser
It probably worked because you've installed MP or another Plugin which setup the aliases already.