Open ifuchs opened 2 years ago
same error comes with the following request:
----> 1 m = p.get_matches_dataframe()
[/usr/local/lib/python3.7/dist-packages/aiohttp/client_reqrep.py](https://localhost:8080/#) in json(self, encoding, loads, content_type)
1029 message=('Attempt to decode JSON with '
1030 'unexpected mimetype: %s' % ctype),
-> 1031 headers=self.headers)
1032
1033 stripped = self._body.strip() # type: ignore
ContentTypeError: 0, message='Attempt to decode JSON with unexpected mimetype: text/html', url=URL('https://elevenvr.club/api/v1/accounts/338475/matches/?page%5Bnumber%5D=25&unranked=false')
The underlying Eleven web API has changed causing breaking changes. We'll need to update pyETT, accordingly.
Trying to play around with pyETT and when I try the statement in the "Getting started" (https://pyett.readthedocs.io/en/latest/pyETT_demo.html#) eleven.user_search_dataframe('Highlander').head() I get an error about the Mimetype aiohttp.client_exceptions.ContentTypeError: 0, message='Attempt to decode JSON with unexpected mimetype: text/html', url=URL('https://www.elevenvr.club/accounts/search/Highlander?page%5Bnumber%5D=39')