Josh's Game Session Database
A way to track game sessions. What game was played. Who played. What score everyone got.
We're going to store it in a database so the info can be stored, recalled, and reported on.
Home page will be a dashboard. Maybe some quick stats. Links for entering a new session and reporting on stored sessions.
A quick Python script to scrape my recipe titles.
from html import unescape
from urllib.request import urlopen
html = urlopen('https://milesorrick.ca/recipes.html', timeout=30).read().decode()
titles = []
for section in html.split('<span'):
if 'class="title"' in section:
title = section.split('<p', 1)[1].split('>', 1)[1].split('</p>', 1)[0]
titles.append(' '.join(unescape(title).split()))
for i, title in enumerate(titles, 1): print(f'{i}. {title}')