Answer the question
In order to leave comments, you need to log in
How to make a request to Google?
I am writing a VK bot, I need to make a search function in Yandex for the last message.
for example, the user enters "weather in Moscow" and the bot performs a request to Yandex or Google and displays the data.
make requests using requests and bs4, but you need to make a request that the user enters
Answer the question
In order to leave comments, you need to log in
https://yandex.ru/search/?text=*here_your_request*
for example
https://yandex.ru/search/?text=weather
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question