Added automatic renew of all lent books
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2019-09-25 10:05:24 +00:00
parent 131a90a0e0
commit bd671a4492

View File

@@ -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