All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Breaking:
YoutubeDownloader\Provider\Youtube\VideoInfo::setToCache()
was removed, useYoutubeDownloader\Provider\Youtube\VideoInfo::getCache()->set()
instead - Breaking:
YoutubeDownloader\Provider\Youtube\VideoInfo::getFromCache()
was removed, useYoutubeDownloader\Provider\Youtube\VideoInfo::getCache()->get()
instead - Breaking:
YoutubeDownloader\Container\SimpleContainer::set()
requires an optional Closure or a string as alias in second argument ($value) - Breaking:
YoutubeDownloader\Toolkit::curlGet()
was removed, useYoutubeDownloader\Http\CurlClient
instead - Breaking:
YoutubeDownloader\Toolkit::get_size()
was removed, useYoutubeDownloader\Http\CurlClient
instead - Breaking:
YoutubeDownloader\Toolkit::getDownloadUrlByFormats()
was removed
0.5.1 - 2017-09-22
- A bug in the mp3 downloader was fixed
0.5 - 2017-09-15
- new
YoutubeDownloader\Http\CurlClient
as an implementation of the newYoutubeDownloader\Http\Client
interface - new
YoutubeDownloader\Http\HttpClientAware
interface YoutubeDownloader\Provider\Youtube\Format
implementsYoutubeDownloader\Http\HttpClientAware
interfaceYoutubeDownloader\Provider\Youtube\Provider
implementsYoutubeDownloader\Http\HttpClientAware
interfaceYoutubeDownloader\Provider\Youtube\VideoInfo
implementsYoutubeDownloader\Http\HttpClientAware
interface- new
YoutubeDownloader\Cache\CacheAware
interface YoutubeDownloader\Provider\Youtube\Format
implementsYoutubeDownloader\Cache\CacheAware
interfaceYoutubeDownloader\Provider\Youtube\Provider
implementsYoutubeDownloader\Cache\CacheAware
interfaceYoutubeDownloader\Provider\Youtube\VideoInfo
implementsYoutubeDownloader\Cache\CacheAware
interface
YoutubeDownloader\Provider\Youtube\VideoInfo::setToCache()
will be removed in 0.6, useYoutubeDownloader\Provider\Youtube\VideoInfo::getCache()->set()
insteadYoutubeDownloader\Provider\Youtube\VideoInfo::getFromCache()
will be removed in 0.6, useYoutubeDownloader\Provider\Youtube\VideoInfo::getCache()->get()
insteadYoutubeDownloader\Container\SimpleContainer::set()
will require an optional Closure or a string as alias in second argument ($value) in 0.6, provide a Closure or a string as alias in second argument ($value) insteadYoutubeDownloader\Toolkit::curlGet()
will be removed in 0.6, useYoutubeDownloader\Http\CurlClient
insteadYoutubeDownloader\Toolkit::get_size()
will be removed in 0.6, useYoutubeDownloader\Http\CurlClient
insteadYoutubeDownloader\Toolkit::getDownloadUrlByFormats()
isn't used anymore and will be removed in 0.6
- Breaking: The
YoutubeDownloader\Format
class was removed, use theYoutubeDownloader\Provider\Youtube\Format
class instead - Breaking: The
YoutubeDownloader\SignatureDecipher
class was removed, use theYoutubeDownloader\Provider\Youtube\SignatureDecipher
class instead - Breaking: The
YoutubeDownloader\VideoInfo
class was removed, use theYoutubeDownloader\Provider\Youtube\VideoInfo
class instead - Breaking:
YoutubeDownloader\Toolkit::isMobileUrl()
isn't used anymore and was removed - Breaking:
YoutubeDownloader\Toolkit::treatMobileUrl()
isn't used anymore and was removed
0.4 - 2017-08-30
- new PSR-3 compatible logger implementation
YoutubeDownloader\Logger\Logger
to log all kind of events - new
YoutubeDownloader\VideoInfo\Provider
interface for describing an implementation how to get aVideoInfo
for an input like a youtube url - (a not so) new provider for downloading videos from Youtube
YoutubeDownloader\Container\SimpleContainer
has a newlogger
service with aYoutubeDownloader\Logger\Logger
instance- new folder
/logs
for log files YoutubeDownloader\Format
implementsLogger\LoggerAware
interfaceYoutubeDownloader\VideoInfo
implementsLogger\LoggerAware
interfaceYoutubeDownloader\SignatureDecipher::decipherSignatureWithRawPlayerScript()
expects an optional logger as 3rd parameter
- Logs are now stored in
/logs
, the fileDeciphers.log
can be deleted
- The
YoutubeDownloader\Format
class will be removed in 0.5, use theYoutubeDownloader\Provider\Youtube\Format
class instead - The
YoutubeDownloader\SignatureDecipher
class will be removed in 0.5, use theYoutubeDownloader\Provider\Youtube\SignatureDecipher
class instead - The
YoutubeDownloader\VideoInfo
class will be removed in 0.5, use theYoutubeDownloader\Provider\Youtube\VideoInfo
class instead YoutubeDownloader\Toolkit::isMobileUrl()
isn't used anymore and will be removed in 0.5YoutubeDownloader\Toolkit::treatMobileUrl()
isn't used anymore and will be removed in 0.5
- Breaking: method
YoutubeDownloader\SignatureDecipher::downloadPlayerScript()
was removed, useYoutubeDownloader\SignatureDecipher::downloadRawPlayerScript()
instead - Breaking: method
YoutubeDownloader\SignatureDecipher::decipherSignature()
was removed, useYoutubeDownloader\SignatureDecipher::decipherSignatureWithRawPlayerScript()
instead
0.3 - 2017-07-28
- new PSR-16 compatible cache implementation
Cache\FileCache
to store data in the filesystem SignatureDecipher::getPlayerInfoByVideoId()
to get the player ID and player url of a cipher videoSignatureDecipher::downloadRawPlayerScript()
to download the raw player script of a cipher videoSignatureDecipher::decipherSignatureWithRawPlayerScript()
to decipher a signature with a raw dicipher scriptVideoInfo::setCache()
to set a Cache implemantationVideoInfo::getFromCache()
to get a value from the Cache implemantationVideoInfo::setToCache()
to set a value to the Cache implemantation
- the web UI now uses Bootstrap 3.3.7 and has been improved
- all cache files are now saved in folder
cache
, theplayerscript
folder can be removed
- an issue in
Format
was fixed, that led to wrong download sizes for some formats - an issue in
ToolKit
was fixed, that led to an error with str_replace()
- method
SignatureDecipher::downloadPlayerScript()
will be removed in release 0.4, useSignatureDecipher::downloadRawPlayerScript()
instead - method
SignatureDecipher::decipherSignature()
will be removed in release 0.4, useSignatureDecipher::decipherSignatureWithRawPlayerScript()
instead
- Breaking: class
Stream
was removed, useFormat
instead - Breaking: class
StreamMap
was removed, useVideoInfo::getFormats()
andVideoInfo::getAdaptiveFormats()
instead - Breaking: method
VideoInfo::createFromString()
was removed, useVideoInfo::createFromStringWithConfig()
instead - Breaking: method
VideoInfo::getStreamMapString()
was removed, useVideoInfo::getFormats()
instead - Breaking: method
VideoInfo::getAdaptiveFormatsString()
was removed, useVideoInfo::getAdaptiveFormats()
instead
0.2 - 2017-07-21
- new configuration 'enable_youtube_decipher_signature' for automatically decipher a YouTube signature. Default is set to false.
Application\ControllerAbstract::responseWithErrorMessage()
to echo an error message and exitVideoInfo::createFromStringWithConfig()
to pass a configuration while creating the VideoInfoVideoInfo::getFormats()
to get the formats for a videoVideoInfo::getAdaptiveFormats()
to get the adaptive formats for a video
- class
Stream
will be removed in release 0.3, useFormat
instead - class
StreamMap
will be removed in release 0.3, useVideoInfo::getFormats()
andVideoInfo::getAdaptiveFormats()
instead - method
VideoInfo::createFromString()
will be removed in release 0.3, useVideoInfo::createFromStringWithConfig()
instead - method
VideoInfo::getStreamMapString()
will be removed in release 0.3, useVideoInfo::getFormats()
instead - method
VideoInfo::getAdaptiveFormatsString()
will be removed in release 0.3, useVideoInfo::getAdaptiveFormats()
instead
0.1 - 2017-07-19
- Simple library for using the functionality in other projects
- Web interface for downloading youtube videos