Simple php script to download SymfonyCasts courses.
$ composer install
$ cp src/application.ini src/local.ini // Add your credentials
$ php download.php
-c, --convert-subtitles[]
Convert downloaded subtitles to provided format. Allowed:srt
-f, --force[]
Download resources even if file exists locally. Allowed:video
,script
,code
,subtitles
-d, --download[]
Download only provided resource types. Allowed:video
,script
,code
,subtitles
--video-quality
Download video with provided quality. If video exists locally but with wrong quality it will be downloaded again. Allowed:hd
,sd
.--clear-cache
Clear courses list cache if exists. Script will download fresh courses list from SymfonyCasts.
Download only subtitles (-d
) even if they exist locally (-f
) and convert them to srt format (-c
)
$ php download.php -f subtitles -d subtitles -c srt
Download only missing scripts (PDFs) and code archives
$ php download.php -d script,code
or
$ php download.php --download="script, code"
Download only videos with HD quality
$ php download.php -d video --video-quality=hd