K
K
Kirieshka3x2020-04-15 16:46:48
Python
Kirieshka3x, 2020-04-15 16:46:48

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

2 answer(s)
T
Timur Pokrovsky, 2020-04-15
@Kirieshka3x

https://yandex.ru/search/?text=*here_your_request*
for example
https://yandex.ru/search/?text=weather

S
Sergey Pankov, 2020-04-15
@trapwalker

https://developers.google.com/webmaster-tools/sear...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question