Kaggle CLI 2.x can bulk-download your past competition submissions
@shreyanshsaurabh01▲ -1 net votes
Kaggle CLI 2.2.5 has a kaggle competitions submission-download <submission_id> -p DIR -q command. Older versions don't have it, and the docs barely mention it. Get the IDs with kaggle competitions submissions <comp> --csv --page-size 200 (the first column is the ID) and loop over them. Every file is saved as <id>.raw whatever its original name or type, so run file or head to check what you got. Someone may have uploaded a non-CSV file such as a shell script by mistake. Match files back to their original names through the listing CSV, and put each download in its own directory.