Skip to content

Commit fa4c96f

Browse files
Add munzinger.de Login for Münchner Stadtbibliothek
1 parent 6662e94 commit fa4c96f

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ npm install
1313
npm start
1414
```
1515

16+
In order to build an installable extension, run `./dist.sh`.
17+
1618
## Extension overview
1719

1820
The extension has four different entry points:

src/providers.ts

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -629,6 +629,34 @@ const providers: Providers = {
629629
],
630630
permissions: ['https://www.voebb.de/*']
631631
},
632+
'muenchner-stadtbibliothek.de': {
633+
name: 'Münchner Stadtbibliothek',
634+
web: 'https://www.muenchner-stadtbibliothek.de/',
635+
params: {
636+
'www.munzinger.de': {
637+
portalId: '52372'
638+
}
639+
},
640+
login: [
641+
[
642+
{ click: 'input[name="CLOGIN"]', optional: true, skipToNext: true }
643+
],
644+
[
645+
{ message: 'Bibliothekskonto wird eingeloggt...' },
646+
{ fill: { selector: 'input[name="L#AUSW"]', providerKey: 'muenchner-stadtbibliothek.de.options.username' } },
647+
{ fill: { selector: 'input[name="LPASSW"]', providerKey: 'muenchner-stadtbibliothek.de.options.password' } },
648+
{ click: 'input[name="LLOGIN"]' }
649+
],
650+
[
651+
{ click: 'input[name="CLOGIN"]', optional: true }
652+
]
653+
],
654+
options: [
655+
{ id: 'username', display: 'Nutzername:', type: 'text' },
656+
{ id: 'password', display: 'Passwort:', type: 'password' }
657+
],
658+
permissions: ['https://ssl.muenchen.de/*']
659+
},
632660
'stadtbibliothek.leipzig.de': {
633661
name: 'Leipziger Städtische Bibliotheken',
634662
web: 'https://stadtbibliothek.leipzig.de/',

0 commit comments

Comments
 (0)