EthanC/CallofDuty.py

I get an error when trying to get a matches info (teams/details)

MiCROZi opened this issue · 1 comments

Summary

Upon getting the teams or details of a match, I always get [WinError 10054] An existing connection was forcibly closed by the remote host. This occurs for any match.

Reproduction Steps

from callofduty import Login, Platform, Title, Mode

client = await Login("email", "password"))
match = await client.GetPlayerMatches(Platform.BattleNet, 
                                      "Slvercyclops#1984", 
                                      Title.ModernWarfare, 
                                      Mode.Warzone,
                                      limit=5)[0]
print(await match.details())

Expected Results

A dict with the data should have been returned,

Actual Results

The error [WinError 10054] An existing connection was forcibly closed by the remote host returned instead.
I have tried turning off my firewall/antivirus but this does not stop the error.

Checklist

  • I have searched the open Issues for duplicates
  • I have shown the entire traceback, if possible
  • I have removed my token from display, if visible

System Information

Python 3.9.1
Callofduty.py 1.2.2
Windows 10 Version 10.0.19042 Build 19042