X-Git-Url: http://git.scottworley.com/paperdoorknob/blobdiff_plain/24e866347ec2355c35e0e39e317946b9b833d2ed..47e940089d73e13a8f7f1d12344c2eb9bcaa3454:/domfilter.py?ds=sidebyside diff --git a/domfilter.py b/domfilter.py index e1095f0..f00721d 100644 --- a/domfilter.py +++ b/domfilter.py @@ -16,8 +16,6 @@ def _changeTag(tag: Tag, new_name: str) -> Tag: DOMFilters: List[Tuple[str, Callable[[Tag], Any]]] = [ - ("NoEdit", lambda x: [eb.decompose() for eb in x.find_all("div", class_="post-edit-box")]), - ("NoFooter", lambda x: [foot.decompose() for foot in x.find_all("div", class_="post-footer")]), ("Strike", lambda x: [_changeTag(span, 's') for span in x.find_all("span", style="text-decoration: line-through;")]), ]