Loading bdx/data.py +0 −3 Original line number Diff line number Diff line Loading @@ -76,9 +76,6 @@ def get_trend(trend_id: str, username: str, password: str, start: datetime, res_auth = sess.post(authURL, data=urlencode(payload), headers={'Content-Type': 'application/x-www-form-urlencoded'}) key = res_auth.cookies.get('IS_SSO') print('KEY', key) # if key is None: # raise Exception('Authentication failed.') res_trend_info = sess.get(trendinfoURL) try: Loading Loading
bdx/data.py +0 −3 Original line number Diff line number Diff line Loading @@ -76,9 +76,6 @@ def get_trend(trend_id: str, username: str, password: str, start: datetime, res_auth = sess.post(authURL, data=urlencode(payload), headers={'Content-Type': 'application/x-www-form-urlencoded'}) key = res_auth.cookies.get('IS_SSO') print('KEY', key) # if key is None: # raise Exception('Authentication failed.') res_trend_info = sess.get(trendinfoURL) try: Loading