Thanks. That did the trick to remove headers.
As for keeping footnotes at the bottom: When running pymupdf, I notice they are displayed in a smaller font size, possibly starting with a superscript (but not always: In this book, some footnotes start with a star followed by a superscript), so that would be a "simple" way to grab everything down to the end of the page, or move them all to the end of the chapter/book like Abbyy does and just include hyperlinks so the user can easily go back and forth.
Code:
blocks = page.get_text("dict", flags=11)["blocks"]
for b in blocks: # iterate through the text blocks
for l in b["lines"]: # iterate through the text lines
stuff = ""
for s in l["spans"]: # iterate through the text spans
print("")
#4.8 = 4.800000190734863
if round(s["size"],1) == 4.8:
print("Found footnote", s["text"])
stuff += s["text"]
print(stuff)