diff --git a/misskaty/plugins/webss.py b/misskaty/plugins/webss.py index e9a9d6ff..194ec799 100644 --- a/misskaty/plugins/webss.py +++ b/misskaty/plugins/webss.py @@ -32,8 +32,8 @@ 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.yasirapi.eu.org/api?url={url}&width=1280&height=720" - downloader = SmartDL(url, download_file_path, progress_bar=False, timeout=10, verify=False) + url = f"https://webss.yasirweb.eu.org/api/screenshot?resX=1280&resY=900&outFormat=jpg&waitTime=100&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( *[