This Node.js script allows you to easily download and extract files from Cloudinary URLs. Whether you need to fetch images, videos, or other resources from Cloudinary and save them locally, this script simplifies the process for you.
- Download files from Cloudinary by providing the Cloudinary URL.
- Save the downloaded files to your specified local directory.
Before you begin, ensure you have met the following requirements:
- Node.js installed on your machine.
-
Clone this repository to your local machine.
-
Run the following command to install the required dependencies:
npm install
-
Open the `extractFromCloudinary.ts`` file.
-
Modify the sourcePathOrUrl variable with your Cloudinary URL.
-
Specify the downloadpath where you want to save the downloaded file.
-
Run the script using the following command:
npm dev