I wanna get some data from site, which requires loggin in.
I log in by requests
url = "http://example.com"
response = requests.get(url, {"email":"a@gmail.com", "password":"12345"})
cookies = response.cookies
Then I wanna get data from some JS page. Through requests it isn't possible, so I have to use dryscrape for this.
import dryscrape
url = "http://example.com/js-page"
sess = dryscrape.Session()
sess.visit(url)
Is it possible to pass cookies to visit() or I have to look for another solution?