2015-10-08 22:52:39 +02:00
svtplay-dl
==========
Installation
------------
Mac OSX
~~~~~~~
If you have OS X and `Homebrew`_ you can install with:
::
brew install svtplay-dl
2017-05-09 15:47:02 +02:00
Make sure you notice that you need to run `brew install ffmpeg` or `brew install libav` afterwards, if you don't already have one of these packages.
2015-10-08 22:52:39 +02:00
Debian and Ubuntu
~~~~~~~~~~~~~~~~~
2017-04-20 12:32:39 +02:00
svtplay-dl(v 0.30) is available in Debian in Jessie and later and Ubuntu in
14.04 and later, which means you can install it straight away using apt (even though version included in the official Debian and Ubuntu apt repos is very old and we **strongly** recommend using our own apt repo which always include the latest version.)
**svtplay-dl apt repo for debian / ubuntu (https://apt.svtplay-dl.se/)**
# Add the release PGP keys:
curl -s https://svtplay-dl.se/release-key.txt | sudo apt-key add -
# Add the "release" channel to your APT sources:
echo "deb http://apt.svtplay-dl.se/ svtplay-dl release" | sudo tee /etc/apt/sources.list.d/svtplay-dl.list
# Update and install svtplay-dl:
sudo apt-get update
sudo apt-get install svtplay-dl
2015-10-08 22:52:39 +02:00
… as root.
2016-04-27 00:49:43 +02:00
Windows
~~~~~~~
You can download windows binaries from `svtplay-dl.se`_
2017-02-03 11:22:50 +01:00
If you want to build your own windows binaries:
1. Install pyinstaller 3.1.1 (https://pypi.python.org/pypi/PyInstaller/3.1.1)
2. Follow the steps listed under **From source**
3. Run
::
pyinstaller.exe --noupx --onefile c:\path\to\svtplay-dl-clone\spec\svtplay-dl.spec (where you replace the path with the correct one)
4. Find binary in dist folder.
2016-12-21 00:26:35 +01:00
2015-10-25 17:38:23 +01:00
Other systems with python
~~~~~~~~~~~~~~~~~~~~~~~~~
::
pip install svtplay-dl
2015-10-08 22:52:39 +02:00
From source
~~~~~~~~~~~
If packaging isn’ t available for your operating system, or you want to
use a non-released version, you’ ll want to install from source. Use git
to download the sources:
::
git clone git://github.com/spaam/svtplay-dl
svtplay-dl requires the following additional tools and libraries. They
are usually available from your distribution’ s package repositories. If
you don’ t have them, some features will not be working.
2017-09-24 02:20:17 +02:00
- `Python`_ 2.7 or higher
2015-10-08 22:52:39 +02:00
- `RTMPDump`_ 2.4 or higher to download RTMP streams.
- `PyCrypto`_ to download encrypted HLS streams
2015-10-25 17:38:43 +01:00
- `Requests`_
2017-11-22 00:36:50 +01:00
- `PySocks`_ to enable proxy support
2016-03-29 01:05:53 +02:00
- `ffmpeg`_ or `avconv`_ for postprocessing and/or for DASH streams
2015-10-08 22:52:39 +02:00
To install it, run
::
2016-03-23 00:39:16 +01:00
# as root:
python setup.py install
# or the old method
2015-10-08 22:52:39 +02:00
make
# as root:
make install
2016-03-23 00:08:05 +01:00
After install
~~~~~~~~~~~~~
::
svtplay-dl [options] URL
2015-10-08 22:52:39 +02:00
If you encounter any bugs or problems, don’ t hesitate to open an issue
2016-04-27 00:49:43 +02:00
`on github`_ . Or why not join the `` #svtplay-dl `` IRC channel on Freenode?
2015-10-08 22:52:39 +02:00
Supported services
------------------
This script works for:
- aftonbladet.se
- bambuser.com
2015-11-29 16:32:53 +01:00
- comedycentral.se
2015-10-08 22:52:39 +02:00
- dbtv.no
- di.se
- dn.se
- dplay.se
- dr.dk
- efn.se
- expressen.se
- hbo.com
- kanal9play.se
- nickelodeon.nl
- nickelodeon.no
- nickelodeon.se
- nrk.no
- oppetarkiv.se
- ruv.is
- svd.se
- sverigesradio.se
- svtplay.se
2016-12-21 00:26:35 +01:00
- viafree.se (former tv3play.se, tv6play.se, tv8play.se, tv10play.se)
- viafree.dk (former tv3play.dk)
2017-04-12 21:27:57 +02:00
- viafree.no (former tv3play.no, viasat4play.no)
2015-10-08 22:52:39 +02:00
- tv3play.ee
- tv3play.lt
- tv3play.lv
- tv4.se
- tv4play.se
- twitch.tv
- ur.se
- urplay.se
- vg.no
- viagame.com
License
-------
This project is licensed under `The MIT License (MIT)`_ .
2016-04-27 00:49:43 +02:00
Homepage: `svtplay-dl.se`_
2015-10-08 22:52:39 +02:00
2017-09-24 02:20:17 +02:00
.. _Python: https://www.python.org/
2015-10-08 22:52:39 +02:00
.. _Homebrew: http://brew.sh/
.. _RTMPDump: http://rtmpdump.mplayerhq.hu/
.. _PyCrypto: https://www.dlitz.net/software/pycrypto/
2015-10-25 17:38:43 +01:00
.. _Requests: http://www.python-requests.org/
2017-11-22 00:36:50 +01:00
.. _PySocks: https://github.com/Anorov/PySocks
2016-03-23 00:08:05 +01:00
.. _ffmpeg: https://ffmpeg.org
.. _avconv: https://libav.org
2015-10-08 22:52:39 +02:00
.. _on github: https://github.com/spaam/svtplay-dl/issues
2016-04-27 00:49:43 +02:00
.. _svtplay-dl.se: https://svtplay-dl.se
2015-10-08 22:52:39 +02:00
.. _The MIT License (MIT): LICENSE