Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error searching the answer #159

Open
ceilingtile opened this issue Dec 7, 2018 · 0 comments
Open

Error searching the answer #159

ceilingtile opened this issue Dec 7, 2018 · 0 comments

Comments

@ceilingtile
Copy link

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'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant