You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried it with a static one, it working.
url = "https://amzn.to/43t4HpL"
@bot.message_handler(func=lambda message: True)
def handle_message(message):
site = requests.get(url)
bot.reply_to(message, site.url)
But when i tried it to get the link from chat and convert using requests.get(url) its not working.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I tried it with a static one, it working.
url = "https://amzn.to/43t4HpL"
@bot.message_handler(func=lambda message: True)
def handle_message(message):
site = requests.get(url)
bot.reply_to(message, site.url)
But when i tried it to get the link from chat and convert using requests.get(url) its not working.
Can any one help.
Beta Was this translation helpful? Give feedback.
All reactions