In this video I will show you how to download Advent of Code puzzle input without copy and pasting by using a Python's Requests library and the session cookie from the Advent of Code site.
See the code on github:
https://github.com/DylanTech2025/AdventOfCode
0:00 Intro
0:29 Code Demo
0:49 Requests library
1:17 Code Part 1
3:49 Session Cookie
5:04 Code Part 2
7:18 gitignore file
7:43 Outro
#adventofcode #python #automation
Download
0 formats
No download links available.
How to download Advent of Code input with Python | NatokHD