diff --git a/modules/papers.py b/modules/papers.py index 22b88bd..99dd978 100644 --- a/modules/papers.py +++ b/modules/papers.py @@ -100,6 +100,9 @@ def download(phenny, input, verbose=True): data = response.content + if "pdf" in response.headers["content-type"]: + data = pdfparanoia.scrub(data) + # grr.. title = title.encode("ascii", "ignore")