I'm trying to download my hands for the last year using a Python script without success.
The issue I'm having is getting past the login. Here is my code snippet-
import requests payload = {'username': 'James_H', 'password': 'MyCrypticPassword'} url = 'https://www.bridgebase.com/myhands/index.php' with requests.Session() as s: r = s.post(url, data=payload) cookie = {'PHPSESSID': requests.utils.dict_from_cookiejar(s.cookies)['PHPSESSID']} print(r.text)
The resulting response is the login page instead of taking me to the hand search feature.
Any help appreciated.
Regards, James.