Kaggle / kaggle-api

Official Kaggle API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BadZipFile Error using opendatasets

Bagelsause opened this issue · comments

I was trying to download the files in the YouTube Trending Video Dataset by Rishav Sharma and was using the opendatasets Python import, and I received a BadZipFile warning for the following code:

od.download("https://www.kaggle.com/datasets/rsrishav/youtube-trending-video-dataset?select=US_youtube_trending_data.csv", force=True)
od.download("https://www.kaggle.com/datasets/rsrishav/youtube-trending-video-dataset?select=US_category_id.json", force=True)

And as instructed in the error, "('Bad zip file, please report on www.github.com/kaggle/kaggle-api', BadZipFile('File is not a zip file'))", I'm reporting it as an issue. I have the kaggle.json present in the directory, so it doesn't ask for any input in the code box.

Please let me know if I should submit any other information regarding this issue!

Thanks for reporting, I have a fix for this bug that will go out today with the version 1.6.1.