From 0ac24ea970ba25210a29690ee289536e821319a7 Mon Sep 17 00:00:00 2001 From: Jakob Date: Sat, 30 Nov 2019 18:15:17 -0600 Subject: [PATCH] Bug fix --- auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth.py b/auth.py index e27cbd7..db0fd7c 100644 --- a/auth.py +++ b/auth.py @@ -286,7 +286,7 @@ class CookieAuthHandler(urllib.request.HTTPCookieProcessor): self.storage_mgr['username'] = username self.storage_mgr['password'] = encode(password) - url = self.bb_root.host + str(self.bb_root.path) + url = 'https://' + self.bb_root.host + str(self.bb_root.path) with self.parent.open(url) as resp: soup = bs4.BeautifulSoup(resp, 'lxml') [form] = soup.select('#login-form > form[name="login"]') -- 2.30.2