diff --git a/nfuck/__init__.py b/nfuck/__init__.py index 7246428..1e0d9d5 100644 --- a/nfuck/__init__.py +++ b/nfuck/__init__.py @@ -40,6 +40,8 @@ async def on_check(message: Message): entity.url = "https://" + entity.url urls.append(entity.url) for url in urls: + if not url: + continue async with AsyncClient( headers={"User-Agent": get_random_useragent()} ) as client: