We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 786d08d commit 6404f66Copy full SHA for 6404f66
instagram/__init__.py
@@ -29,6 +29,9 @@ def fazerLogin(usuario, senha):
29
res = req.json()
30
atualizarCSRFToken(session, req.cookies["csrftoken"])
31
32
+ if res["status"] != "ok" or res["authenticated"] != True:
33
+ raise Exception("Erro no login: %s" % res)
34
+
35
print("Logado com sucesso!")
36
print()
37
0 commit comments