Spaces:
Sleeping
Sleeping
Captain D. Ezio
commited on
Commit
·
1fc1023
1
Parent(s):
b53f2fc
Update web_con.py
Browse files- Powers/plugins/web_con.py +11 -3
Powers/plugins/web_con.py
CHANGED
@@ -317,8 +317,16 @@ async def download_instareels(c: Gojo, m: Message):
|
|
317 |
await m.reply_video(Reel_)
|
318 |
return
|
319 |
except Exception:
|
320 |
-
|
321 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
322 |
|
323 |
__PLUGIN__ = "web support"
|
324 |
|
@@ -330,4 +338,4 @@ __HELP__ = """
|
|
330 |
• /ig (/instagram , /insta) <reel's url> : Download reel from it's url
|
331 |
|
332 |
**Bot will not download any song or video having duration greater than 10 minutes (to reduce the load on bot's server)**
|
333 |
-
"""
|
|
|
317 |
await m.reply_video(Reel_)
|
318 |
return
|
319 |
except Exception:
|
320 |
+
try:
|
321 |
+
await m.reply_photo(Reel_)
|
322 |
+
return
|
323 |
+
except Exception:
|
324 |
+
try:
|
325 |
+
await m.reply_document(Reel_)
|
326 |
+
return
|
327 |
+
except Exception:
|
328 |
+
await m.reply_text("I am unable to reach to this reel.")
|
329 |
+
return
|
330 |
|
331 |
__PLUGIN__ = "web support"
|
332 |
|
|
|
338 |
• /ig (/instagram , /insta) <reel's url> : Download reel from it's url
|
339 |
|
340 |
**Bot will not download any song or video having duration greater than 10 minutes (to reduce the load on bot's server)**
|
341 |
+
"""
|