|
@@ -9,10 +9,9 @@ |
|
|
|
"inRepository": true, |
|
|
|
"translatorType": 12, |
|
|
|
"browserSupport": "gcsv", |
|
|
|
"lastUpdated": "2019-03-29 12:34:44" |
|
|
|
"lastUpdated": "2019-04-20 11:32:16" |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/* |
|
|
|
***** BEGIN LICENSE BLOCK ***** |
|
|
|
|
|
@@ -115,7 +114,7 @@ function doWeb(doc, url) { |
|
|
|
id = url.substring(p + 5, url.length - 4); |
|
|
|
} |
|
|
|
else { |
|
|
|
id = ZU.xpathText(doc, '//td[contains(@class,"arxivid")]/a') |
|
|
|
id = ZU.xpathText(doc, '//tr[td[text() = "Cite as:"]]//span[@class = "arxivid"]/a') |
|
|
|
|| ZU.xpathText(doc, '//b[starts-with(normalize-space(text()),"arXiv:")]'); |
|
|
|
} |
|
|
|
if (!id) throw new Error('Could not find arXiv ID on page.'); |
|
|
0 comments on commit
5aaef74