Kaggle / Kaggle/kaggle-cli

issue in CLI competitions leaderboard download for stream contents

Open
#357 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
7.5k
Forks
1.4k
Avg merge
3d 15h
Merged PRs (30d)
11

Description

When use CLI `kaggle competitions leaderboard favorita-grocery-sales-forecasting -d` it returns stream data and it raises a key error on `size = int(response.headers['Content-Length'])` because the server doesn't return `Content-Length` in headers.

Added a pull request to handle this exception for downloading leaderboard: https://github.com/Kaggle/kaggle-api/pull/354

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.