Skip to content

Commit

Permalink
FIXED: login
Browse files Browse the repository at this point in the history
  • Loading branch information
Pati committed May 14, 2020
1 parent 49bc669 commit 00051f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tvnow.py
Expand Up @@ -173,7 +173,7 @@ def isLoggedIn(self):

def sendLogin(self, username, password):
jlogin = { "email" : username, "password": password}
r = self.session.post("https://api.tvnow.de/v3/backend/login?fields=%5B%22id%22,%20%22token%22,%20%22user%22,%5B%22agb%22%5D%5D", json=jlogin)
r = self.session.post("https://auth.tvnow.de/login", json=jlogin)
#Parse json
response = r.text
response = json.loads(response)
Expand Down

0 comments on commit 00051f0

Please sign in to comment.