mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 17:44:50 +00:00
Increase wait time while generate screenshot
Signed-off-by: Yasir Aris M <git@yasirdev.my.id>
This commit is contained in:
parent
1a43a4ba09
commit
a134febf8d
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ async def take_ss(_, ctx: Message, strings):
|
|||
download_file_path = os.path.join("downloads/", f"webSS_{ctx.from_user.id}.png")
|
||||
msg = await ctx.reply_msg(strings("wait_str"))
|
||||
try:
|
||||
url = f"https://webss.yasirweb.eu.org/api/screenshot?resX=1280&resY=900&outFormat=jpg&waitTime=100&isFullPage=false&dismissModals=false&url={url}"
|
||||
url = f"https://webss.yasirweb.eu.org/api/screenshot?resX=1280&resY=900&outFormat=jpg&waitTime=1000&isFullPage=false&dismissModals=false&url={url}"
|
||||
downloader = SmartDL(url, download_file_path, progress_bar=False, timeout=15, verify=False)
|
||||
downloader.start(blocking=True)
|
||||
await gather(
|
||||
|
|
|
|||
Loading…
Reference in a new issue