Skip to content

Instantly share code, notes, and snippets.

@bsdlp
Created May 26, 2014 20:54
Show Gist options
  • Select an option

  • Save bsdlp/72ceea39fbe0eb1174ab to your computer and use it in GitHub Desktop.

Select an option

Save bsdlp/72ceea39fbe0eb1174ab to your computer and use it in GitHub Desktop.
import requests
url = 'http://play.esea.net/index.php?s=session&d=login'
cookies = {'viewed_welcome_page': '1'}
payload = {'alias': 'USERNAME', 'password': 'PASSWORD'}
r = requests.post(url, cookies=cookies, data=payload)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment