title: Unable to log in using requests with Python 3
body: <p>I am trying to use requests to try to scrape some data on this <a href="https://v4.fitnessandlifestylecentre.com/WebAccess/login.aspx" rel="nofollow">website</a>, but I am encountering some issues:</p>
  
  <p>My code is the following:</p>
  
  <pre><code>import requests
  from requests.auth import HTTPBasicAuth
  r = requests.get("https://v4.fitnessandlifestylecentre.com/WebAccess/login.aspx", auth=HTTPBasicAuth('atoto', 'password'))
  print(r.text)
  </code></pre>
  
  <p>(the login password combination is not a valid one for obvious reasons)</p>
  
  <p>However when returning this, I do not get the page I would get after a successful login attempt but I get back the login page but slightly different (probably because the website considered it to be an unsucessful login attempt.</p>
  
  <p>Please can you help me to understand what is going wrong ?</p>
  
  <p>EDIT:
  I have tried to post the arguments in the following manner:</p>
  
  <pre><code>payload = {'edUsername': 'atoto', 'edPassword': 'password'}
  r = requests.get("https://v4.fitnessandlifestylecentre.com/WebAccess/login.aspx", data=payload)
  </code></pre>
  
  <p>but the result is the same. I noticed some hidden variables in the form, should I post them as well ?</p>