Open Felikesw opened 2 years ago
I did some digging, and end up in the query within the search function. The incorrect suggestion came from here:
search_params = {
'list': 'search',
'srprop': '',
'srlimit': results,
'limit': results,
'srsearch': query
}
if suggestion:
search_params['srinfo'] = 'suggestion'
raw_results = _wiki_request(search_params)
here is the content of raw_results, given the input "theresa may":
Notice that the suggestion field in the returning query has the incorrect suggestion. Not sure how to furthur debug this
This is my code:
but for some reasons, it ran into error, and saying that I am giving "teresa may" as input???
What is going on here?