From ab6b3b16d90287b2bdbf3e517bc116eb04da2746 Mon Sep 17 00:00:00 2001 From: Avram Lyon Date: Sun, 22 Aug 2010 06:34:41 +0000 Subject: [PATCH] Fixing PDF saving for JSTOR translator --- translators/JSTOR.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/translators/JSTOR.js b/translators/JSTOR.js index 15555cb712..47463c93da 100644 --- a/translators/JSTOR.js +++ b/translators/JSTOR.js @@ -8,7 +8,7 @@ "priority":100, "inRepository":"1", "translatorType":4, - "lastUpdated":"2010-08-22 08:01:40" + "lastUpdated":"2010-08-22 08:32:02" } @@ -141,7 +141,7 @@ function doWeb(doc, url) { set.doi = "10.2307/" + jid; if (/stable\/(\d+)/.test(item.url)) { - var pdfurl = "http://"+ host + "/stable/pdfplus/" + jid + ".pdf"; + var pdfurl = "http://"+ host + "/stable/pdfplus/" + jid + ".pdf?acceptTC=true"; item.attachments.push({url:pdfurl, title:"JSTOR Full Text PDF", mimeType:"application/pdf"}); }