diff --git a/repotime.txt b/repotime.txt index cc6becc65..9e46bcd5d 100644 --- a/repotime.txt +++ b/repotime.txt @@ -1 +1 @@ -2009-12-17 09:35:00 +2009-12-22 08:00:00 diff --git a/translators/Google Scholar.js b/translators/Google Scholar.js index 3a47d3a6b..c3f544f49 100644 --- a/translators/Google Scholar.js +++ b/translators/Google Scholar.js @@ -8,7 +8,7 @@ "maxVersion":"", "priority":100, "inRepository":true, - "lastUpdated":"2009-08-09 07:15:00" + "lastUpdated":"2009-12-22 08:00:00" } function detectWeb(doc, url) { @@ -29,8 +29,8 @@ function scrape(doc) { var itemTypes = new Array(); var attachments = new Array(); - var titles = doc.evaluate('//h3[@class="r"]', doc, nsResolver, - XPathResult.ANY_TYPE, null); + var titles = doc.evaluate('//div[@class="gs_r"]/h3', doc, nsResolver, XPathResult.ANY_TYPE, null); + // changing .enw to .bib var elmts = doc.evaluate('//a[contains(@href, ".bib")]', doc, nsResolver, XPathResult.ANY_TYPE, null);