1
0
mirror of https://github.com/kanzure/pdfparanoia.git synced 2024-06-09 20:29:52 +02:00

Merge pull request #27 from DonnchaC/rsc

Check PDF is from the RSC before cleaning.
This commit is contained in:
Bryan Bishop 2013-05-13 13:06:23 -07:00
commit d54f6e826c

View File

@ -35,6 +35,9 @@ class RoyalSocietyOfChemistry(Plugin):
#"Table of Contents for this issue", #"Table of Contents for this issue",
] ]
# Confirm the PDF is from the RSC
if "pubs.rsc.org" in content:
# parse the pdf into a pdfminer document # parse the pdf into a pdfminer document
pdf = parse_content(content) pdf = parse_content(content)