enigma972 / symfonycasts-downloader

Script to download SymfonyCasts courses

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SymfonyCasts Downloader

Simple php script to download SymfonyCasts courses.

Installation

$ composer install
$ cp src/application.ini src/local.ini // Add your credentials

Usage

$ php download.php

available options

  • -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.

options examples

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

About

Script to download SymfonyCasts courses


Languages

Language:PHP 100.0%