From: Jakob Date: Sun, 1 Dec 2019 00:15:17 +0000 (-0600) Subject: Bug fix X-Git-Url: https://jcornell.net/gitweb/gitweb.cgi?a=commitdiff_plain;h=0ac24ea970ba25210a29690ee289536e821319a7;p=bb-sync-api.git Bug fix --- 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"]')