datacipen commited on
Commit
70e66ce
1 Parent(s): 9333eda

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
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(' - ', '').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"]
 
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"]