I have roughly 50 lines of code that convert ...
custard_shops = {
"Gilles": "https://gillesfrozencustard.com",
"Murfs": "https://www.murfsfrozencustard.com",
"Georgie Porgies": "https://georgieporgies.com",
"Pops": "https://popscustard.com",
"Golden Gyros": "https://goldengyro.com",
"Leons": "https://leonsfrozencustardmke.com",
"Kraverz": "https://www.kraverzcustard.com",
"Hefners": "https://www.hefnerscustard.com"
}
... to what is supposed to be JSON objects that look like ...
shop: {'date': '[Day], [Month] [Date]', 'flavor_of_the_day': '[Flavor]', 'description': '[Flavor Description]', 'hours': '[Hours they are open, today]', 'address': '[Street Address Of Where They Are Located]'}
... but this needs a bit of attention. The goal is to run a process once daily in Docker that scrapes for custard shop data (hours, the flavor of the day, etc) so that I can use it to update Firebase Cloud Firestore.
#Python #ScreenScraping #AI #Custard
custard_shops = {
"Gilles": "https://gillesfrozencustard.com",
"Murfs": "https://www.murfsfrozencustard.com",
"Georgie Porgies": "https://georgieporgies.com",
"Pops": "https://popscustard.com",
"Golden Gyros": "https://goldengyro.com",
"Leons": "https://leonsfrozencustardmke.com",
"Kraverz": "https://www.kraverzcustard.com",
"Hefners": "https://www.hefnerscustard.com"
}
... to what is supposed to be JSON objects that look like ...
shop: {'date': '[Day], [Month] [Date]', 'flavor_of_the_day': '[Flavor]', 'description': '[Flavor Description]', 'hours': '[Hours they are open, today]', 'address': '[Street Address Of Where They Are Located]'}
... but this needs a bit of attention. The goal is to run a process once daily in Docker that scrapes for custard shop data (hours, the flavor of the day, etc) so that I can use it to update Firebase Cloud Firestore.
#Python #ScreenScraping #AI #Custard




