diff --git a/bibcheck.py b/bibcheck.py index 2152391..5ae74f3 100644 --- a/bibcheck.py +++ b/bibcheck.py @@ -19,6 +19,8 @@ def main(): response = br.submit() br.follow_link(text_regex=r"Konto") response = br.follow_link(text_regex=r"Ausleihe zeigen") + br.select_form('Form0') + response = self.br.submit(name='textButton$0', label='Alle verlängern') lentlist = bs4.BeautifulSoup(response.read(), 'html.parser') table = lentlist.select('table[class="rTable_table"]')[0] import urllib.request