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
1 changed files with 3 additions and 0 deletions

View File

@ -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")