From cfd0420c697b657ed1f608d1d68cebfae5db1ab5 Mon Sep 17 00:00:00 2001 From: vi Date: Sun, 8 Dec 2013 04:27:17 +0800 Subject: [PATCH] Recent JSTOR generator, remove access date (#24). --- pdfparanoia/plugins/jstor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdfparanoia/plugins/jstor.py b/pdfparanoia/plugins/jstor.py index d5575a1..4a2de02 100644 --- a/pdfparanoia/plugins/jstor.py +++ b/pdfparanoia/plugins/jstor.py @@ -84,7 +84,7 @@ def scrub(cls, content, verbose=0): # # This would be better if it could be decoded to # actually search for the "Accessed" text. - if page_id == 0 and "/F2 11 Tf\n" in better_content: + if page_id == 2 and "/F2 11 Tf\n" in better_content: startpos = better_content.rfind("/F2 11 Tf\n") endpos = better_content.find("Tf\n", startpos+5)