From e9a56a413ecf48fa830d690fc9b9637e1f0fba30 Mon Sep 17 00:00:00 2001 From: Mo Beigi Date: Thu, 22 Aug 2024 01:40:23 +1000 Subject: [PATCH] Use HTTPS in url to avoid 1 extra redirect hop --- fb2cal/facebook_browser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fb2cal/facebook_browser.py b/fb2cal/facebook_browser.py index 46f23b9..aa30f6f 100644 --- a/fb2cal/facebook_browser.py +++ b/fb2cal/facebook_browser.py @@ -47,7 +47,7 @@ def _get_pubkey_from_html(self, html): def authenticate(self, email, password): """ Authenticate with Facebook setting up session for further requests """ - FACEBOOK_LOGIN_URL = 'http://www.facebook.com/login' + FACEBOOK_LOGIN_URL = 'https://www.facebook.com/login' login_page = self.browser.open(FACEBOOK_LOGIN_URL)