Error searching the answer
ceilingtile opened this issue · comments
ceilingtile commented
Press s to screenshot live game, sampq to run against sample questions or q to quit:
�[0ms
v Reading screen
- Googling and searching WikipediaTraceback (most recent call last):
File "answer_bot.py", line 288, in
get_points_live()
File "answer_bot.py", line 274, in get_points_live
points,maxo = google_wiki(simq, options, neg)
File "answer_bot.py", line 221, in google_wiki
search_wiki = google.search(o, num_pages)
File "C:\Users\PC1\AppData\Local\Programs\Python\Python37-32\lib\site-packages\google\modules\standard_search.py", line 72, in search
soup = BeautifulSoup(html, "html.parser")
File "C:\Users\PC1\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bs4_init_.py", line 153, in init
builder = builder_class()
File "C:\Users\PC1\AppData\Local\Programs\Python\Python37-32\lib\site-packages\bs4\builder_htmlparser.py", line 39, in init
return super(HTMLParserTreeBuilder, self).init(*args, **kwargs)
TypeError: init() got an unexpected keyword argument 'strict'