Skip to content
Permalink
Browse files

Typo in Libgen translator URL detection (zotero#1255)

* add Libgen example in tests, per review
  • Loading branch information...
owcz authored and adam3smith committed Mar 11, 2017
1 parent 8c8e421 commit ccaa08289d0d59c66a45767666dd7d6271c1ec37
Showing with 29 additions and 3 deletions.
  1. +29 −3 Library Genesis.js
@@ -2,14 +2,14 @@
"translatorID": "11614156-f421-4e89-8ce0-a5e69ce3ebed",
"label": "Library Genesis",
"creator": "Reverend Wicks Cherrycoke",
"target": "^https?://(libgen\\.io|lib\\.gen\\.rus\\.ec)/",
"target": "^https?://(libgen\\.io|gen\\.lib\\.rus\\.ec)/",
"minVersion": "3.0",
"maxVersion": "",
"priority": 100,
"inRepository": true,
"translatorType": 4,
"browserSupport": "gcsi",
"lastUpdated": "2016-05-07 08:21:47"
"lastUpdated": "2017-03-11 19:59:48"
}

/*
@@ -244,6 +244,32 @@ var testCases = [
"seeAlso": []
}
]
},
{
"type": "web",
"url": "http://gen.lib.rus.ec/book/index.php?md5=A2560CC676A29BD4B289A2034894AF69",
"items": [
{
"itemType": "book",
"title": "African ivories",
"creators": [
{
"firstName": "Ezra",
"lastName": "Kate",
"creatorType": "author"
}
],
"date": "1984",
"itemID": "book:882539",
"libraryCatalog": "Library Genesis",
"publisher": "The Metropolitan Museum of Art",
"url": "http://gen.lib.rus.ec/book/index.php?md5=a2560cc676a29bd4b289a2034894af69",
"attachments": [],
"tags": [],
"notes": [],
"seeAlso": []
}
]
}
]
/** END TEST CASES **/
/** END TEST CASES **/

0 comments on commit ccaa082

Please sign in to comment.
You can’t perform that action at this time.