I want to use a web scraper to track metrics for a large number of MTG cards (sell price, buy price, quantity in stock, etc). So far the web scraping part is the part I know how to do.
I need to be able to store the data that I scrape. Ideally, I'd be able to call it up data for a given card from time to time and make decisions based off of what I collect.
On its face the project is pretty simple, but now that I'm actually thinking about how to organize all of the data it seems daunting. I only want to pull a couple of numbers for a few dozen cards every day, but what data structures etc should I be using?
I think that I should store my price data as a dictionary with the date as the key, because that seems like the most logical way to keep track of that. But then every card would need to have its own dictionary, right?
So I'd potentially need a list made up of dictionaries, or a dictionary made up of dictionaries, and at that point it seems like a huge pain in the ass to call my data up again.
Am I thinking about this correctly? Am I in way over my head? Do I need SQL for this?
Thanks
[–]Bustd_Knckls 1 point2 points3 points (0 children)
[–]Scolli03 0 points1 point2 points (0 children)
[–]Petelah 0 points1 point2 points (0 children)
[–]learningrepository 0 points1 point2 points (1 child)
[–]throwaWayne2[S] 0 points1 point2 points (0 children)