Exaphis / HackQ-Trivia

Yet another HQ Trivia bot. Automatically scrapes HQ Trivia questions without OCR and answers them.
MIT License
89 stars 54 forks source link

Bing search is not working #189

Closed O-Piyush closed 4 years ago

O-Piyush commented 4 years ago

i choose Bing{Service} search and put api key in hq_config file. but Bing search is not working it still using Google Search ERROR raise HttpError(resp, content, uri=actual_url) googleapiclient.errors.HttpError: <HttpError 400 when requesting https://www.googleapis.com/discovery/v1/apis/customsearch/v1/rest?key=INSERT_GOOGLE_API_KEY_HERE returned "API key not valid. Please pass a valid API key.". Details: "[{'@type': 'type.googleapis.com/google.rpc.Help', 'links': [{'description': 'Google developers console', 'url': 'https://console.developers.google.com'}]}]"

there is something wrong in the script as it is not using Bing search Commenting out LINE 32 may work??