Skip to content

Commit

Permalink
Merge pull request #145 from socheres/master
Browse files Browse the repository at this point in the history
  • Loading branch information
jriedl authored Dec 3, 2020
2 parents 954c9aa + 23ed77f commit b898183
Show file tree
Hide file tree
Showing 4 changed files with 112 additions and 133 deletions.
Binary file modified .DS_Store
Binary file not shown.
4 changes: 2 additions & 2 deletions SAGE Journals.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"inRepository": true,
"translatorType": 4,
"browserSupport": "gcsibv",
"lastUpdated": "2020-11-19 10:57:23"
"lastUpdated": "2020-12-03 10:32:23"
}

/*
Expand Down Expand Up @@ -132,7 +132,7 @@ function scrape(doc, url) {
let orcid = orcidEntry[n].innerHTML;
let name = orcidEntry[n].innerHTML;
if (orcid) {
let regexOrcid = /\d+-\d+-\d+-\d+/;
let regexOrcid = /\d+-\d+-\d+-\d+x?/i;
let regexName = /author=.*"/;

if(orcid.match(regexOrcid)) {
Expand Down
Loading

0 comments on commit b898183

Please sign in to comment.