Skip to content

Commit

Permalink
authorization fix for Archer C2300 v1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandrErohin committed Mar 22, 2024
1 parent 728b63a commit dccddd8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="tplinkrouterc6u",
version="3.4.0",
version="3.4.1",
author="Alex Erohin",
author_email="[email protected]",
description="TP-Link Router API",
Expand Down
2 changes: 1 addition & 1 deletion tplinkrouterc6u/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)
Expand Down

0 comments on commit dccddd8

Please sign in to comment.