Login with python in netflix?

Ha
3

I tried to log into my Netflix account with a Python script. But somehow it does not work. I would be happy if someone could help me.

import requests
req = requests.session ()

param = {"username": "anemail@gmail.com", "password": "1234"}

source = req.post ("https://www.netflix.com/at-en/login",data=param)
if "login_transaction_failed" in source.text:
print ("Connection could not be established!")
else:
print ("Connection was established!")

La
1

Look here https://pyflix2.readthedocs.io/en/latest/

What you're trying to do will most likely fail, since Netflix will not log you in for legitimate login even for security reasons.

Ha
1

Thank you

La

If you just want to check if the account is active try also times https://github.com/...-login-API

Reprogramming Netflix? Au AubrieAdult
Can't login to Netflix? Vi ViolaFreya
Top laptop brands? Al AlaricJemma2605