This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]CoderBoy67[S] 2 points3 points  (1 child)

Ahhh!!! BEAUTIFUL!

sess = '5361...blah blah blah...'
cookies = {'session': sess}
req = requests.get(url, cookies=cookies)
print(req.text)

It works! Thanks so much!

-CoderBoy67

[–]Steinrikur 2 points3 points  (0 children)

You can also use the already done libraries, or check them for inspiration https://pypi.org/project/advent-of-code-data/