scrub away watermarks in another situation

This commit is contained in:
Bryan Bishop 2013-02-09 07:42:57 -06:00
parent 357e268e96
commit 53de3f3648

View File

@ -100,6 +100,9 @@ def download(phenny, input, verbose=True):
data = response.content data = response.content
if "pdf" in response.headers["content-type"]:
data = pdfparanoia.scrub(data)
# grr.. # grr..
title = title.encode("ascii", "ignore") title = title.encode("ascii", "ignore")