I am wondering how I could scrape data from a website that requires my login, and login automatically using cookies so I won't get blocked by verification when I try to login with a username and a password.
For example, I have a channel in discord that can only be viewed if I am logged in on my account.
url = https://discord.com/channels/742886974288822413/743510591670583306
Is there any way I could send a request to this website and put my cookies in as an argument so I am logged in by default when I am scraping this site? I despise using selenium as it is very slow, and opens up an entire browser on my system. I would prefer using a tool that doesn't open up an entire browser, such as the requests module or urllib.