JovianHQ / opendatasets

A Python library for downloading datasets from Kaggle, Google Drive, and other online sources.
MIT License
319 stars 139 forks source link

feat: add filename for downloading from Google Drive or from net by using url (not zipped file) #16

Open ErfanMomeniii opened 8 months ago

ErfanMomeniii commented 8 months ago

Hi, at first thanks for this amazing repo. It would be good if we could handle the file name manually from function parameters. By merging this PR we can have that feature on some use-case scenarios like download via URL or download from Google Drive.

ErfanMomeniii commented 8 months ago

for example, if we want to download something via url like this https://github.com/persiannlp/parsinlu/raw/master/data/translation/translation_combined_en_fa/train.tsv?download= before merging the above PR , as I checked it saved it in the file with the following name: 'train.tsv?download='