Closed appleGun22 closed 4 years ago
Looks like an issue with the requests library. Can you tell me what version of requests you have? You can check by typing pip show requests
in the terminal. I'll look into it more later
Looks like an issue with the requests library. Can you tell me what version of requests you have? You can check by typing
pip show requests
in the terminal. I'll look into it more later
2.7.0
bruh , i forgout to update the requests libary :) i updated it to 2.24.0 now its all fine
i get that message every time i want to get client
File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner self.run() File "/usr/lib/python3.8/threading.py", line 870, in run self._target(*self._args, self._kwargs) File "**.py", line 113, in **** client = brawlstats.Client(token=cT) File "/home/ubuntu/.local/lib/python3.8/site-packages/brawlstats/core.py", line 76, in init brawlers_info = self.get_brawlers() File "/home/ubuntu/.local/lib/python3.8/site-packages/brawlstats/core.py", line 355, in get_brawlers return self._get_model(self.api.BRAWLERS, model=Brawlers) File "/home/ubuntu/.local/lib/python3.8/site-packages/brawlstats/core.py", line 190, in _get_model data = self._request(url) File "/home/ubuntu/.local/lib/python3.8/site-packages/brawlstats/core.py", line 155, in _request with self.session.get(url, timeout=self.timeout, headers=self.headers) as resp:
what's causing that problem?