mgostick
mgostick
For me I found the user-agent was blocked. I updated these: ``` questrade_api/auth.py: r = urlopen(Request(self.config['Auth']['RefreshURL'].format(token), headers={'User-Agent': 'Mozilla'})) questrade_api/questrade.py: return urllib.request.Request(url, headers={'User-Agent': 'Mozilla'}) questrade_api/questrade.py: return urllib.request.Request(self.__base_url + url, headers={'User-Agent': 'Mozilla'})...
My full diff of auth.py```4c4< from urllib import request---> from urllib.request import urlopen, Request37c37,38< r = request.urlopen(self.config['Auth']['RefreshURL'].format(token))---> r = urlopen(Request(self.config['Auth']['RefreshURL'].format(token), headers={'User-Agent': 'Mozilla'}))```On Jan 30, 2025, at 7:52 PM, yardern ***@***.***>...