Answer the question
In order to leave comments, you need to log in
How to optimize the parser bot?
I have a Python parser bot in the social. of the VKontakte network, which collects weather data, it is important to note that I receive data from Yandex, and only optimization remains before production. Everything related to accessing VK happens instantly, but when it comes to Yandex, you have to wait 3-6 seconds for an answer, as for a bot, this is quite a long time. So, is there any way to optimize my code and reduce the timeout. By the way, I forgot to mention, I use bs4 for parsing and urllib for requests.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question