This commit is contained in:
Aholicknight 2024-09-28 01:07:52 -06:00 committed by GitHub
commit ecc798dd29
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View file

@ -1,2 +1,3 @@
.DS_Store
downloads
.venv

View file

@ -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}")