I have this script:
import requests
from bs4 import BeautifulSoup
with requests.Session() as c:
body = {'username':'*****','password':'*********','submit':'Log In','mod':'www','ssl':'0','dest':'community'}
con = c.post('https://secure.runescape.com/m=weblogin/login.ws', data=body)
a = (con.cookies['session'])
cookies = dict(session=a)
b = c.get('https://www.runescape.com/c=Xbn439ejpJo/account_settings.ws?jptg=ia&jptv=navbar',cookies=cookies)
With the first link I manage to login. When I try to reach the second page, I am not logged in... why? print (b.text)