From 844bac37058ce61ec079bcce95fc2de5c3630446 Mon Sep 17 00:00:00 2001 From: matthias Date: Fri, 17 Jan 2020 12:16:41 +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 a6bf127..0c99cab 100644 --- a/bibcheck.py +++ b/bibcheck.py @@ -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')