Update main.py
Browse files
main.py
CHANGED
@@ -720,7 +720,7 @@ async def API_France_Travail(romeListArray):
|
|
720 |
for k in romeListArray:
|
721 |
if k[0:1] == ' ':
|
722 |
k = k[1:]
|
723 |
-
params = {"motsCles": k.replace('/', '').replace('
|
724 |
try:
|
725 |
search_on_big_data = client.search(params=params)
|
726 |
results += search_on_big_data["resultats"]
|
|
|
720 |
for k in romeListArray:
|
721 |
if k[0:1] == ' ':
|
722 |
k = k[1:]
|
723 |
+
params = {"motsCles": k.replace('/', '').replace('-', '').replace(',', '').replace(' ', ','),'minCreationDate': dt_to_str_iso(start_dt),'maxCreationDate': dt_to_str_iso(end_dt),'range':'0-149'}
|
724 |
try:
|
725 |
search_on_big_data = client.search(params=params)
|
726 |
results += search_on_big_data["resultats"]
|