Skip to content

Commit

Permalink
[APA PsycNET] Fix scraping directly from page
Browse files Browse the repository at this point in the history
  • Loading branch information
aurimasv committed Apr 24, 2015
1 parent 38f656f commit 51ec49d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion APA PsycNET.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"inRepository": true,
"translatorType": 4,
"browserSupport": "gcsibv",
"lastUpdated": "2015-04-24 21:42:11"
"lastUpdated": "2015-04-24 21:47:37"
}

function detectWeb(doc, url) {
Expand Down Expand Up @@ -194,6 +194,7 @@ function fetchRIS(url, post, itemType, doc, retry) {
} else if(!foundRIS) {
Z.debug('No RIS data. Falling back to scraping the page directly.');
scrapePage(doc, itemType);
return;
}

//clean up (double) spacing in RIS
Expand Down

0 comments on commit 51ec49d

Please sign in to comment.