Skip to content

Instantly share code, notes, and snippets.

@joedf
joedf / dino_wiki_finance.py
Last active June 18, 2022 16:14
Parse html pages from the Tap Dig MyMuseum fandom wiki...
# by joedf - MIT license - May 2022
from bs4 import BeautifulSoup
import glob, csv
# get html pages from either of these pages
# https://tap-dig-my-museum-wiki.fandom.com/wiki/Fossils
# https://tap-dig-my-museum-wiki.fandom.com/wiki/List_of_fossils
def file2Soup(path, enc="utf8"):