with requests.Session() as s:
    response = s.post('https://play.horseandcountry.tv/login/', data=payload)
soup = BeautifulSoup(response.text, 'lxml')
logged_in = soup.find('p', attrs={'class': 'navbar-text pull-right'})
print(s.cookies)
print(response.status_code)
if logged_in.text.startswith('Logged in as'):
    pass
Creating a connection to a subscription site in python