This happen when the query is "strange" or maybe too long or syntactically wrong. For example "ASD adasmd asidjkasd" or "All euro2016 matches of the year" (with no space between Euro and 2016). It can't find related queries. I have handled this by commenting :
if related_queries == []:
related_queries = Bing.scrape_related(soup)
This happen when the query is "strange" or maybe too long or syntactically wrong. For example "ASD adasmd asidjkasd" or "All euro2016 matches of the year" (with no space between Euro and 2016). It can't find related queries. I have handled this by commenting :
(Ln:113 and Ln:114 of bing.py)