diff --git a/.gitignore b/.gitignore index de2b2c6..64c220d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ .DS_Store downloads +.venv \ No newline at end of file diff --git a/mkbsd.py b/mkbsd.py index 2b33310..75fb314 100644 --- a/mkbsd.py +++ b/mkbsd.py @@ -23,7 +23,7 @@ async def download_image(session, image_url, file_path): async def main(): try: - async with aiohttp.ClientSession() as session: + async with aiohttp.ClientSession(connector=aiohttp.TCPConnector(verify_ssl=False)) as session: async with session.get(url) as response: if response.status != 200: raise Exception(f"⛔ Failed to fetch JSON file: {response.status}")