From ed870d3a67a458abc866720af4a7778aa14241c6 Mon Sep 17 00:00:00 2001 From: yasir Date: Mon, 9 Jan 2023 10:24:59 +0700 Subject: [PATCH] Fix --- misskaty/plugins/scrapwebsite.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misskaty/plugins/scrapwebsite.py b/misskaty/plugins/scrapwebsite.py index 4c363911..d40d8fba 100644 --- a/misskaty/plugins/scrapwebsite.py +++ b/misskaty/plugins/scrapwebsite.py @@ -919,7 +919,7 @@ async def gomov_scrap(_, msg): msgs += f"{c}. {i['judul']}\nGenre: {i['genre']}\n" msgs += ( f"Extract: /{msg.command[0]}_scrap {i['link']}\n\n" - if not "/tv/" in i["link"] + if not re.search(r"series", i["genre"]) else "\n" ) if len(head.encode("utf-8") + msgs.encode("utf-8")) >= 4000: