title: Logging in to LinkedIn with python requests sessions
body: <p>I'm trying to log into LinkedIn using Python requests:</p>
  
  <pre><code>import sys
  import requests
  from BeautifulSoup import BeautifulSoup
  
  
  payload={
      'session-key' : 'user@email.com',
      'session-password' : 'password'
  }
  
  URL='https://www.linkedin.com/uas/login-submit'
  s=requests.session()
  s.post(URL,data=payload)
  
  r=s.get('http://www.linkedin.com/nhome')
  soup = BeautifulSoup(r.text)
  print soup.find('title')
  </code></pre>
  
  <p>I can't seem to log in using this method. I even tried playing with csrf etc. in the payload, but aren't sessions supposed to take care of that for you?</p>
  
  <p>Note about the last line: I use the title to check if I've successfully logged in. (I should see "Welcome! | LinkedIn" if I have signed in, instead I see "World's Largest Professional Network | LinkedIn"</p>
  
  <p>Am I missing something?</p>