Update main.py
This commit is contained in:
parent
b713c0162a
commit
a02ab12a62
10
main.py
10
main.py
@ -54,9 +54,11 @@ def search_site(SITE):
|
||||
)
|
||||
|
||||
|
||||
if len(sys.argv) > 1:
|
||||
for site in sys.argv[1:]:
|
||||
search_site(site)
|
||||
if len(sys.argv) == 1:
|
||||
sites = ["grenoble", "lille", "luxembourg", "lyon", "nancy", "nantes", "rennes", "sophia", "strasbourg", "toulouse"]
|
||||
else:
|
||||
search_site("rennes")
|
||||
sites = sys.argv[1:]
|
||||
|
||||
for site in sites:
|
||||
search_site(site)
|
||||
|
||||
|
2
requirements.txt
Normal file
2
requirements.txt
Normal file
@ -0,0 +1,2 @@
|
||||
requests
|
||||
|
Loading…
Reference in New Issue
Block a user