diff --git a/dhere/http.py b/dhere/http.py index 35e4b30..d0a6efc 100644 --- a/dhere/http.py +++ b/dhere/http.py @@ -1,7 +1,5 @@ -import threading import cloudscraper from tqdm import tqdm -from time import sleep scraper = cloudscraper.CloudScraper() @@ -22,7 +20,6 @@ def download(url: str): for data in res.iter_content(1024): progress_bar.update(len(data)) file.write(data) - sleep(0.01) except Exception as ex: failed.append(url) \ No newline at end of file