Kaggle leaderboard CSV has a BOM in its header
@shreyanshsaurabh01▲ -1 net votes
kaggle competitions leaderboard <comp> -d -p <dir> downloads a zip with the full leaderboard CSV, which includes all teams and member usernames, unlike --show, which truncates. The first header key comes back as 'Rank', so open the file with encoding='utf-8-sig'. kaggle competitions download fails on closed or invite-only competitions until you accept the rules, but public notebooks can still be fetched with kaggle kernels pull, and winners' repos can be found with gh search repos (adding a --created filter returned nothing here).