From 1b5858e491b4c15c5690a1b3093bb0fcd5fe5f89 Mon Sep 17 00:00:00 2001 From: matthias Date: Mon, 30 Sep 2019 15:47:02 +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 60aa58e..764a707 100644 --- a/bibcheck.py +++ b/bibcheck.py @@ -25,7 +25,7 @@ def check(username, password): br['$Textfield$0'] = password response = br.submit() br.follow_link(text_regex=r"Konto") - response = br.follow_link(text_regex=r"Ausleihe zeigen") + response = br.follow_link(text_regex=r"Ausleihen? zeigen") br.select_form('Form0') response = br.submit(name='textButton$0', label='Alle verlängern') lentlist = bs4.BeautifulSoup(response.read(), 'html.parser')