From c81acebd9a88c44c702288e31a44fda5c2487942 Mon Sep 17 00:00:00 2001 From: scossa Date: Mon, 27 Nov 2023 01:22:30 +0100 Subject: [PATCH] update --- scrapeje.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scrapeje.py b/scrapeje.py index 294b0c4..5c1a926 100644 --- a/scrapeje.py +++ b/scrapeje.py @@ -22,15 +22,15 @@ def inputurl(): global restaurant_url #INPUT #prende l url della pagina justeat del ristorante in input - # print ("\nesempio: https://www.justeat.it/restaurants-pizzeria-la-garganica-bologna/menu") - # restaurant_url = input('INSERISCI IL LINK DELLA PAGINA DEL RISTORANTE: ') + print ("\nesempio: https://www.justeat.it/restaurants-pizzeria-la-garganica-bologna/menu") + restaurant_url = input('INSERISCI IL LINK DELLA PAGINA DEL RISTORANTE: ') #PER DEBUG - restaurant_url = 'https://www.justeat.it/restaurants-dolceirnerio/menu' + #restaurant_url = 'https://www.justeat.it/restaurants-dolceirnerio/menu' # if os.path.exists('rubrica.txt'): # if os.path.exists('./DATI_RUBRICA'): - +inputurl() # wr = input('\nVuoi vedere la rubrica? [Y|N] ') # if wr.upper() in ['YES', 'Y', 'SI', 'S']: # print( '\n', os.listdir('./DATI_RUBRICA'), '\n')