Spaces:
Runtime error
Runtime error
aheskandani
commited on
Commit
•
352ff52
1
Parent(s):
352eac8
Update app.py
Browse files
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=
|
25 |
urllib.request.urlretrieve(url, 'captcha.png')
|
26 |
print('Downloaded!')
|
27 |
context.bot.send_photo(chat_id, photo=open('captcha.png', 'rb'))
|
|
|
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=1685017367&rand2=Wm1xc2xiUmdaODFCOCttb1Y3ZkNGRDJIeUtzR2JObk4veGlwa2hLSTBaOD0='
|
25 |
urllib.request.urlretrieve(url, 'captcha.png')
|
26 |
print('Downloaded!')
|
27 |
context.bot.send_photo(chat_id, photo=open('captcha.png', 'rb'))
|