„bibcheck.py“ ändern

This commit is contained in:
2020-01-17 14:27:56 +01:00
committed by matthias
parent d26036d608
commit 844bac3705
+1 -1
View File
@@ -35,7 +35,7 @@ def main():
def check(username, password, notify_ids):
br = mechanize.Browser()
starturl = 'https://ssl.muenchen.de/aDISWeb/app?service=direct/0/Home/$DirectLink&sp=SOPAC'
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.select_form('Form0')