I have a problem creating a session with requests

Keywords: python python-3.x python-requests


I'm trying to create a session with the requests library, and I am almost sure that everything is fine with my code, but it still login as a guest, and not using the username and password that I give him/

I have tried to look all over my code and I have realized that almost 100 percent, these next line is the problem:

s = requests.session()

login_info = {'username': user, 'password': password}

s.post(LOGIN_URL, login_info)