texout: IO[bytes],
pandoc: str,
) -> None:
+ texout.write(b'\\documentclass{article}\n\\begin{document}\n')
html = clean(fetch(url, session, timeout))
for r in replies(html):
texout.write(html_to_tex(pandoc, r))
+ texout.write(b'\\end{document}\n')
def main() -> None: