scrub away watermarks in another situation
This commit is contained in:
parent
357e268e96
commit
53de3f3648
@ -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")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user