Python telegram bot || Can help with the bot, parser?

Hi I need help . I recently wrote a parser bot on Tg and I faced this problem ` When the script parses the newsfeed and sends them to the Tg of the boat , then sent only the text of the news , without reference to the the post where all is written in detail .
Utah can fix the problem ? I just tried many times and nothing came of it , odd blunt.
from bs4 import BeautifulSoup
import requests
import telebot

bot = telebot.TeleBot('config.token')
url = ''
page = requests.get(url)
new_news = []
soup = BeautifulSoup(page.text, "html.parser")
news = soup.findAll('a', class_='news-item')
for i in range(len(news)):
if news[i].find('span', class_='title') is not None:
for i in range(len(new_news)):

def start_message(message):
bot.send_message(, 'Hello, you wrote me /start')

def send_text(message):
if message.text == 'Նորություններ':
bot.send_message( (".join(new_news[:10])))
elif message.text == 'News':
bot.send_message( (".join(new_news[:5])))
April 19th 20 at 12:49
0 answer

Find more questions by tags TelegramBotsPython