From 9d0bf70f37b64e874ae23b2b0d49a2d571c7809d Mon Sep 17 00:00:00 2001 From: matthias Date: Sun, 29 Mar 2020 05:32:39 +0000 Subject: [PATCH] =?UTF-8?q?=E2=80=9Ebibcheck.py=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bibcheck.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bibcheck.py b/bibcheck.py index 8edd535..921fa9d 100644 --- a/bibcheck.py +++ b/bibcheck.py @@ -37,7 +37,7 @@ def check(username, password, notify_ids): br = mechanize.Browser() starturl = os.environ.get('LIBRARY_URL', 'https://ssl.muenchen.de/aDISWeb/app?service=direct/0/Home/$DirectLink&sp=SOPAC') response = br.open(starturl) - br.follow_link(text_regex=r"Anmelden") + br.follow_link(text_regex=r"Anmeld(en|ung abschicken)") br.select_form('Form0') br['$Textfield'] = username br['$Textfield$0'] = password