This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author karlcow
Recipients Chenyun Yang, ezio.melotti, josh.r, karlcow, martin.panter, r.david.murray, xiang.zhang
Date 2021-01-05.01:34:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1609810451.87.0.355834457827.issue25258@roundup.psfhosted.org>
In-reply-to
Content
I wonder if the confusion comes from the name. The HTMLParser is kind of a tokenizer more than a full HTML parser, but that's probably a detail. It doesn't create a DOM Tree which you can access, but could help you to build a DOM Tree (!= DOM Document object)

https://html.spec.whatwg.org/multipage/parsing.html#overview-of-the-parsing-model

> Implementations that do not support scripting do not have to actually create a DOM Document object, but the DOM tree in such cases is still used as the model for the rest of the specification.
History
Date User Action Args
2021-01-05 01:34:11karlcowsetrecipients: + karlcow, ezio.melotti, r.david.murray, martin.panter, josh.r, xiang.zhang, Chenyun Yang
2021-01-05 01:34:11karlcowsetmessageid: <1609810451.87.0.355834457827.issue25258@roundup.psfhosted.org>
2021-01-05 01:34:11karlcowlinkissue25258 messages
2021-01-05 01:34:11karlcowcreate