diff --git a/README.md b/README.md index 91718c5..6be9840 100644 --- a/README.md +++ b/README.md @@ -217,6 +217,7 @@ or you have TP-link C1200 V2 or similar router you need to get web encrypted pas - Archer C6 v3.0 - Archer C6U v1.0 - Archer C7 v5.0 +- Archer C2300 v1.0 - Archer MR200 v5 - Archer MR200 v5.3 - Archer MR600 v1 diff --git a/setup.py b/setup.py index 0116db6..41bfcce 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setuptools.setup( name="tplinkrouterc6u", - version="3.4.0", + version="3.4.1", author="Alex Erohin", author_email="alexanderErohin@yandex.ru", description="TP-Link Router API", diff --git a/tplinkrouterc6u/client.py b/tplinkrouterc6u/client.py index 6eda390..393c0c6 100644 --- a/tplinkrouterc6u/client.py +++ b/tplinkrouterc6u/client.py @@ -587,7 +587,7 @@ def authorize(self) -> None: response = requests.post( url, params={'operation': 'login', 'username': self.username, 'password': self.password}, - headers={'Referer': self._login_referer, 'Content-Type': 'application/x-www-form-urlencoded'}, + headers={'Content-Type': 'application/x-www-form-urlencoded'}, timeout=self.timeout, verify=self._verify_ssl, )