X-Git-Url: http://git.scottworley.com/paperdoorknob/blobdiff_plain/386218397a4723129b31e3954bb960da61f72474..929db57622c6b8756ed341d7ae2862126a7c638f:/spec.py 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]