Ignoring None that sneaked in here somehow
This commit is contained in:
parent
ae101ec1c3
commit
17f7a71f03
|
@ -40,6 +40,8 @@ async def on_check(message: Message):
|
||||||
entity.url = "https://" + entity.url
|
entity.url = "https://" + entity.url
|
||||||
urls.append(entity.url)
|
urls.append(entity.url)
|
||||||
for url in urls:
|
for url in urls:
|
||||||
|
if not url:
|
||||||
|
continue
|
||||||
async with AsyncClient(
|
async with AsyncClient(
|
||||||
headers={"User-Agent": get_random_useragent()}
|
headers={"User-Agent": get_random_useragent()}
|
||||||
) as client:
|
) as client:
|
||||||
|
|
Loading…
Reference in New Issue