]> git.scottworley.com Git - paperdoorknob/blobdiff - domfilter.py
Rename html → dom
[paperdoorknob] / domfilter.py
index e1095f0f856842d3d8fa9819dd36d57c4d1fda92..f00721dd321dd0ece3697a90a563c171bc430930 100644 (file)
@@ -16,8 +16,6 @@ def _changeTag(tag: Tag, new_name: str) -> Tag:
 
 
 DOMFilters: List[Tuple[str, Callable[[Tag], Any]]] = [
 
 
 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;")]),
 ]
     ("Strike", lambda x: [_changeTag(span, 's')
                           for span in x.find_all("span", style="text-decoration: line-through;")]),
 ]