diff --git a/src/harmless.py b/src/harmless.py new file mode 100644 index 0000000..fdcc7c7 --- /dev/null +++ b/src/harmless.py @@ -0,0 +1,14 @@ +from . import abstract + +class HarmlessParser(abstract.AbstractParser): + mimetypes = {'application/xml', 'text/plain'} + + def __init__(self, filename: str): + self.filename = filename + self.output_filename = filename + + def get_meta(self): + return dict() + + def remove_all(self): + return True