From ba972da16c3d635e3ef1e27bd412a7a6457cf76b Mon Sep 17 00:00:00 2001 From: NitroNine <105956848+NitroNine@users.noreply.github.com> Date: Fri, 20 May 2022 23:19:39 -0300 Subject: [PATCH] eastlink --- cogeco.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cogeco.py b/cogeco.py index 1c1f88a..78450c8 100644 --- a/cogeco.py +++ b/cogeco.py @@ -3,9 +3,9 @@ class Cogeco: """ - @class Cogeco + @class Eastlink - MSO class to handle authorization with the Cogeco MSO + MSO class to handle authorization with the Eastlink MSO """ @staticmethod @@ -15,14 +15,14 @@ def getID(): @staticmethod def authorize(streamProvider, username, password): """ - Perform authorization with Cogeco + Perform authorization with Eastlink @param streamProvider the stream provider object. @param username the username to authenticate with @param password the password to authenticate with """ - uri = streamProvider.getAuthURI("Cogeco") + uri = streamProvider.getAuthURI("Eastlink") jar = Cookies.getCookieJar() opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(jar))#, @@ -86,7 +86,7 @@ def postAuthSaml(username, password, saml, relay, url): print "Unable to find action form" return None - action = "https://customer-services.cogeco.com" + action.group(1) + action = "https://eastlink.ca" + action.group(1) return Cogeco.postLogin(username, password, action)