Skip to content

Commit

Permalink
Typo in Libgen translator URL detection (#1255)
Browse files Browse the repository at this point in the history
* add Libgen example in tests, per review
  • Loading branch information
owcz authored and adam3smith committed Mar 11, 2017
1 parent 8c8e421 commit ccaa082
Showing 1 changed file with 29 additions and 3 deletions.
32 changes: 29 additions & 3 deletions Library Genesis.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

/*
Expand Down Expand Up @@ -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.