My BOT isn't working.
I am trying to create a bot that finds stuff on google based off of user input.
Here is my whole source_code:
The error that is brought up is:
Can someone tell me why I get this error?
Now even when I put the code into another project so I can try to fix it, It comes up with a new error.
That is the output it pops up above the 'Google: ' search input.
Then when I search something, it comes up with
Apparently because bs4 can't be imported or something, someone help!!!!
@ChristianThone it might be due to something like Google not sending back those details, try to write the response into a file, go through it to see what's being sent, also you can add checks to see if it is not
None so you don't get the error. This is a normal problem with APIs, they might not return same fields for all queries.