diff bin/plinks.py @ 9:7a93e190c74d

logging tweaks, preparing for timeout on problem pdfs
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Tue, 25 Feb 2020 10:34:41 +0000
parents 25ca3505b4d7
children a33db8e3f51c
line wrap: on
line diff
--- a/bin/plinks.py	Mon Feb 24 12:16:10 2020 +0000
+++ b/bin/plinks.py	Tue Feb 25 10:34:41 2020 +0000
@@ -5,7 +5,7 @@
 
 def run(file):
   global pdf
-  pdf=pdfx.PDFx(file)
+  pdf=pdfx.PDFx(file,limit=30)
   return pdf.get_references_as_dict()
 
 tarnum=sys.argv[1]