download.clear_cache

download.clear_cache(cache_dir=None, *, confirm=False)

Delete the download cache. Returns the bytes freed.