Skip to content

Commit

Permalink
Add Stadtbibliothek Wuppertal
Browse files Browse the repository at this point in the history
Closes #468 Closes #473
  • Loading branch information
stefanw committed Jul 9, 2024
1 parent ba4d51e commit 86997d5
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
3 changes: 2 additions & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
"https://katalog.dortmund.de/*",
"https://advance-lexis-com.eu1.proxy.openathens.net/*",
"https://*.bonn.idm.oclc.org/*",
"https://online-service2.nuernberg.de/*"
"https://online-service2.nuernberg.de/*",
"https://*.webopac.wuppertal.de:1443/*"
],
"background": {
"scripts": [
Expand Down
26 changes: 26 additions & 0 deletions src/providers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -960,6 +960,32 @@ const providers: Providers = {
'https://advance-lexis-com.eu1.proxy.openathens.net/*',
'https://katalog.dortmund.de/*'
]
},
'www.wuppertal.de': {
name: 'Stadtbibliothek Wuppertal',
web: 'https://www.wuppertal.de/microsite/stadtbibliothek/',
params: {
'www.nexisuni.com': {
domain: 'advance-lexis-com.webopac.wuppertal.de:1443',
startUrl: 'https://login.webopac.wuppertal.de:1443/login?qurl=https%3a%2f%2fwww.nexisuni.com'
}
},
defaultSource: 'www.nexisuni.com',
login: [
[
{ message: 'Bibliothekskonto wird eingeloggt...' },
{ fill: { selector: 'input[name="user"]', key: 'options.username' } },
{ fill: { selector: 'input[name="pass"]', key: 'options.password' } },
{ click: 'input[type="submit"]' }
]
],
options: [
{ id: 'username', display: 'Nutzername:', type: 'text' },
{ id: 'password', display: 'Passwort:', type: 'password' }
],
permissions: [
'https://*.webopac.wuppertal.de:1443/*'
]
}
}

Expand Down

0 comments on commit 86997d5

Please sign in to comment.