Downloader Application

This application is able to download particular resource by provided urls. Urls should be passed via CLI commands.

Quick start

composer install & cp .env.example .env & php artisan key:generate
touch ./database/database.sqlite & php artisan migrate
php artisan queue:listen --timeout=0

CLI Commands

Add Resource in Queue to download

php artisan fetch:resource {urls*}
Retrieve history of fetched resources

php artisan fetch:history
Copy resource into specified path

php artisan fetch:retrieve {ids*} --path={DIRECTORY}