aheskandani commited on
Commit
572dccb
1 Parent(s): 9063b65

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -21,7 +21,7 @@ def start(update: Update, context: CallbackContext):
21
  def send_captcha(update: Update, context: CallbackContext):
22
  ''' Entry point of conversation this gives buttons to user'''
23
  chat_id = update.effective_chat.id
24
- url = 'https://pooya.um.ac.ir/gateway/SecurityImage/ShowSecurityImage.php?rand=596890142&rand2=ZU1mRGRBNFNkVmFObyswQno5aDVjTGdJSWpPZGxXWTFkRHVxVDJkVmlZMD0='
25
  urllib.request.urlretrieve(url, 'captcha.png')
26
  context.bot.send_photo(chat_id, photo=open('captcha.png', 'rb'))
27
 
@@ -31,4 +31,4 @@ if __name__ == '__main__':
31
  updater.dispatcher.add_handler(CommandHandler('img', send_captcha))
32
  updater.start_polling()
33
  print('Bot started ..........')
34
- updater.idle()
 
21
  def send_captcha(update: Update, context: CallbackContext):
22
  ''' Entry point of conversation this gives buttons to user'''
23
  chat_id = update.effective_chat.id
24
+ url = 'https://pooya.um.ac.ir/gateway/SecurityImage/ShowSecurityImage.php?rand=797377160&rand2=UVJ3Rko2SXlDbGtoRC9oNnNVVXVhOFcxdTNxVEhqVDhBZHBvVXRrWFZuaz0='
25
  urllib.request.urlretrieve(url, 'captcha.png')
26
  context.bot.send_photo(chat_id, photo=open('captcha.png', 'rb'))
27
 
 
31
  updater.dispatcher.add_handler(CommandHandler('img', send_captcha))
32
  updater.start_polling()
33
  print('Bot started ..........')
34
+ چچ