X-Git-Url: http://git.scottworley.com/paperdoorknob/blobdiff_plain/8be20b9d36c49271ed392038750dfba981c283b6..cfd0b634e21851a0d9e8b4c8c258307baefcd931:/spec.py?ds=inline diff --git a/spec.py b/spec.py index 75d00c3..2b80f16 100644 --- a/spec.py +++ b/spec.py @@ -13,13 +13,17 @@ from bs4.element import Tag from fetch import Fetcher from texify import Texifier +from images import ImageStore +# pylint: disable=too-many-instance-attributes @dataclass(frozen=True) class Spec: url: str fetcher: Fetcher + images: ImageStore htmlfilter: Callable[[bytes], bytes] domfilter: Callable[[Tag], None] texifier: Texifier + geometry: str | None texout: IO[bytes]