Web scraper and directory/file generator to save previously released Advent of Code puzzles in a single location.
My Solutions Repo
Don't get too excited, just the solutions I've done so far 😄
- Why did I create this project?
- Features
- Tech used
- Screenshots
- Future features
- What is Advent of Code anyway?
TLDR - I'm a programmer... We are supposed to automate absolutely everything, right? :)
I discovered Advent of Code in late 2019 while I was a student at Bloomtech (Lambda when I attended). While the current year puzzles open up to solve on their corresponding date, all previous puzzles are available on the website to solve.
I wanted a way to save the puzzle instructions, puzzle input, and solve all the puzzles in ONE location. Each year there are 25 puzzles, and 25 bonus puzzles. Thats 300 Puzzles previously released!
Could you imagine how long trying to copy paste would take, way to long!
- Creates directories labeled by year for previous puzzles available on Advent of Code (2015-2021)
- Creates sub directories labeled by puzzle title inside each year directory. (25 part 1, 25 part 2)
- Creates .txt file for puzzle input (optional)
- Writes to input.txt, (excluded from repo, since individual inputs are different for each user.)
- Creates .md file with Puzzle instructions scraped from website.
- Creates a .py file (For solving) :)
Add ability to scrape:
- Part 1 puzzle input
- Write to txt file
- Part 2 puzzle input
- Scrape new released puzzles each day (can do this by manually entering url)
Advent of Code <----- VISIT ADVENT OF CODE!!!
Advent of code is a website created by Eric Wastl in 2015.
Every year on December 1st a new puzzle is released each day until December 25th.
These puzzles can be solved in any programming language and any skill level can play.