python Requests login to website returns 403
- by Jeff
I'm trying to use requests to login to a website but as you can guess I'm having a problem
here's the the code that I'm using
import requests
EMAIL = '***'
PASSWORD = '***'
URL = 'https://portal.bitcasa.com/login'
client = requests.session(config={'verbose': sys.stderr})
login_data = {'username': EMAIL, 'password': PASSWORD,}
r =…