mirror of
https://github.com/kanzure/pdfparanoia.git
synced 2025-06-14 20:12:02 +02:00
Check PDF is from the RSC before cleaning
This commit is contained in:
parent
18140d838d
commit
c673d77ec6
@ -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)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user