title: Python website login and xpath
body: <p>I'm new at programming and I was trying to login into a website and gather an object. The authentication page comes up first, then it goes to the page, however, I'm not able to authenticate.</p>
  
  <pre><code>from lxml import html
  
  import requests
  
  session = requests.Session()
  
  response = session.get('https://123.com/auth?name=ABC&amp;pw=ABC')
  
  page = requests.get('123.com')
  tree = html.fromstring(page.content)
  
  alert = tree.xpath('//*[@id="casealertsdataview"]/div')
  
  print (alert)
  </code></pre>