nipoppy.utils.html.SelectiveHTMLStripper

class nipoppy.utils.html.SelectiveHTMLStripper(tags=None)

HTML parser that strips specified tags and keeps others.

get_data()

Get the processed data as a single string.

handle_data(d)

Handle data.

handle_endtag(tag)

Handle end tag.

handle_startendtag(tag, attrs)

Handle self-closing tag.

handle_starttag(tag, attrs)

Handle start tag.

fed = []
strip_tags