X-Git-Url: http://git.scottworley.com/paperdoorknob/blobdiff_plain/23f3187945d1cf4f3a9cdc43462be2ca39e7023a..929db57622c6b8756ed341d7ae2862126a7c638f:/spec.py?ds=sidebyside diff --git a/spec.py b/spec.py index 1322897..98832bf 100644 --- a/spec.py +++ b/spec.py @@ -7,7 +7,7 @@ from dataclasses import dataclass -from typing import IO +from typing import Callable, IO from fetch import Fetcher from texify import Texifier @@ -17,5 +17,6 @@ from texify import Texifier class Spec: url: str fetcher: Fetcher + htmlfilter: Callable[[bytes], bytes] texifier: Texifier texout: IO[bytes]