'How to Request Website Pages Using Cookies [Python]
I'm trying to get website data as if I were viewing it myself, ie: sending a request to google along with all my cookies to view my personal google settings page.
I tried doing something like this:
import requests as req
cookies = {
''' all my cookies here '''
}
print(req.get('https://google.com', cookies = cookies))
Sending this request shows me the page as if I were seeing the page from my own computer
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
