vitalijssilins/streammediadownload

Download media from streaming services like Soundcloud, Grooveshark and Mixcloud

dev-master 2014-08-12 12:16 UTC

This package is not auto-updated.

Last update: 2024-04-27 13:58:53 UTC


README

Stream Media Download is a PHP script, which is capable of getting stream links from different streaming services. You can fork this project and use AbstractAdapter.php class to add additional streaming services. You have three well documented examples to get started.

All provided code is for education purposes only!

Requirements

Be sure to install these libraries on the server, before using Stream Media Download:

curl
ssl
swftools (only for grooveshark - see below)

Installation

Stream Media Download uses composer to maintain dependencies.

Composer Installation procedure:

curl -sS https://getcomposer.org/installer | php
php composer.phar require vitalijssilins/streammediadownload dev-master

Direct Github Installation procedure:

git clone https://github.com/vitalijssilins/streammediadownload streammediadownload
cd streammediadownload
php composer.phar install

After installation take a look at /examples folder.

SFW Decompiler

GrooveShark.com adapter uses swfdump command to decompile swf and get a token key for communication. If you plan to use GrooveShark then please install swftools on the server. Use this command depending on your linux environment:

sudo yum install swftools

or

sudo apt-get install swftools

Version

1.0

License

GPL v3