Skip to content

Instantly share code, notes, and snippets.

View SmyczekF's full-sized avatar
😃

Filip Smyczek SmyczekF

😃
View GitHub Profile
@darwing1210
darwing1210 / async_download_files.py
Last active August 22, 2024 10:04
Script to download files in a async way, using Python asyncio
import os
import asyncio
import aiohttp # pip install aiohttp
import aiofile # pip install aiofile
REPORTS_FOLDER = "reports"
FILES_PATH = os.path.join(REPORTS_FOLDER, "files")
def download_files_from_report(urls):