Download any file from web via PHP CLI, with Instagram support (via command line Interface)
php dl.php --url [url] --path=[path] --filename=[filename]
--url
: The direct URL to file or Instagram media
--path
: The path where file will be saved (defautl: current folder)
--filename
: The file name (default: original file name)
sudo apt install php7.4-cli
sudo apt install php7.4-curl
- Colored strings not work in Windows 8.1
- Downloads only the first media from carousels