Skip to content

Download files from subfolders doesn't work #739

@setoff

Description

@setoff

Tried the same code:

from kaggle.api.kaggle_api_extended import KaggleApi

api = KaggleApi()
api.authenticate()

api.competition_download_file(
        <competition-name>, 
        '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/<competion-name>/dataset/dataset_files/filename.ext

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions