我在浏览器中打开DevTools,可以看到需要的请求。
Request info
我的代码:import requests
url = 'https://www.docavenue.com/elastic/healthcaredirectory/_search'
data = {
"from":0,
"size":1,
"min_score":0,
"query":{
"bool":{
"must":[
{
"constant_score":{
"query":{
"match_phrase_prefix":{
"fullName.simple":"degryse-gilles"
}
}
}
},
{
"constant_score":{
"query":{
"match_phrase":{
"specialties.simple":"medecin-generaliste"
}
}
}
},
{
"constant_score":{ </