Update main.py

This commit is contained in:
augustin64 2024-07-11 17:00:43 +02:00
parent b713c0162a
commit a02ab12a62
2 changed files with 8 additions and 4 deletions

10
main.py
View File

@ -54,9 +54,11 @@ def search_site(SITE):
) )
if len(sys.argv) > 1: if len(sys.argv) == 1:
for site in sys.argv[1:]: sites = ["grenoble", "lille", "luxembourg", "lyon", "nancy", "nantes", "rennes", "sophia", "strasbourg", "toulouse"]
search_site(site)
else: else:
search_site("rennes") sites = sys.argv[1:]
for site in sites:
search_site(site)

2
requirements.txt Normal file
View File

@ -0,0 +1,2 @@
requests