beautifulsoup .vs tidy

Paddy paddy3118 at netscape.net
Sat Jul 1 04:09:20 EDT 2006


bruce wrote:
> hi...
>
> never used perl, but i have an issue trying to resolve some html that
> appears to be "dirty/malformed" regarding the overall structure. in
> researching validators, i came across the beautifulsoup app and wanted to
> know if anybody could give me pros/cons of the app as it relates to any of
> the other validation apps...
>
I'm not too sure of what you are after. You mention tidy in the subject
which made me think that maybe you were trying to generate well-formed
HTML from malformed webppages that nonetheless browsers can interpret.
If that is the case then try HTML tidy:
  http://www.w3.org/People/Raggett/tidy/

- Pad.




More information about the Python-list mailing list