import telebot # pip install pyTelegramBotApi
import requests
from bs4 import BeautifulSoup as BS
r=requests.get('
https://ua.sinoptik.ua/погода-гомель')
html=BS(r.content, 'html.parser')
bot = telebot.TeleBot('', parse_mode=None)
for el in
html.select('#content'):
print("yes") t_min=
el.select('.temperature .min')[0].text
print( t_min )
@bot.message_handler(commands=['start', 'help'])
def main(message):
bot.send_message(
message.chat.id, "Привет, погода на сегодня:")
bot.polling()
Действие даже не доходит до принта в for