Kaggle / Kaggle/kaggle-cli

Download files from subfolders doesn't work

Open
#739 9 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

Tried the same code:

```python
from kaggle.api.kaggle_api_extended import KaggleApi

api = KaggleApi()
api.authenticate()

api.competition_download_file(
,
'dataset/dataset_files/filename.ext'
path='local_path'
)
```
Version 1.6.17 downloads file successfully.

Version 1.7.4.2 returns this error:
```
404 Client Error: Not Found for url: https://www.kaggle.com/api/v1/competitions/data/download//dataset/dataset_files/filename.ext
```

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.