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')