Fetching Data from URL
Grabbing Data from URL
There are datasets that are publicly available and can be accessed using a URL.
It helps to download large datasets from public url directly in less time.
You can use either wget or curl command to download the dataset directly from URL.
Note: Make sure the URL mentioned directs directly to the dataset and not a web page.
1
wget <url>
Copied!
1
curl -L <url>
Copied!
For example-
1
wget http://yann.lecun.com/exdb/mnist/train-images-idx3-ubyte.gz
Copied!
1
curl -L http://yann.lecun.com/exdb/mnist/train-images-idx3-ubyte.gz
Copied!
Note: For small files, upload directly. For large files, it is recommended to zip the file.
Use wget command to download from URL
Last modified 1mo ago
Copy link