Skip to content

Commit

Permalink
Replace API link
Browse files Browse the repository at this point in the history
  • Loading branch information
hemantapkh committed Mar 10, 2023
1 parent 6d86615 commit 93b2860
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/commands/getLink.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def solveCaptcha(message, called):
text = 'Please solve the captcha by clicking the button below and try again.'

markup = telebot.types.InlineKeyboardMarkup()
markup.add(telebot.types.InlineKeyboardButton(text='✔️ Verify', web_app=telebot.types.WebAppInfo('https://torrent-seedr.onrender.com/refresh')))
markup.add(telebot.types.InlineKeyboardButton(text='✔️ Verify', web_app=telebot.types.WebAppInfo('https://hemantapokharel.com.np/seedr/refresh')))

if called:
bot.answer_callback_query(message.id)
Expand Down
2 changes: 1 addition & 1 deletion src/commands/start.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def start(message):
bot.edit_message_text(language['processFailed'][userLanguage], chat_id=sent.chat.id, message_id=sent.id)

else:
data = requests.get(f"https://torrent-seedr.onrender.com/getdata?key={config['databaseKey']}&id={params}")
data = requests.get(f"https://hemantapokharel.com.np/seedr/getdata?key={config['databaseKey']}&id={params}")
data = json.loads(data.content)

if data['status'] == 'success':
Expand Down

0 comments on commit 93b2860

Please sign in to comment.