1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-27 21:54:17 +01:00
Go to file
2018-09-05 21:43:52 +02:00
bin Change shebang to python3 from python 2018-05-20 23:23:16 +02:00
lib Added broadcast/publishing datetime to metadata extraction and NFO file creation. 2018-09-05 21:43:52 +02:00
scripts diff_man_help.sh: fix “ \1 not defined in the RE” on macOS 2016-10-06 22:27:55 +02:00
.gitattributes better why to get the version 2018-07-10 21:32:54 +02:00
.gitignore gitignore: remove lib 2018-09-05 16:40:56 +02:00
.travis.yml travis, install deps 2018-05-13 12:09:27 +02:00
appveyor.yml appveyor: use the right syntax :) 2018-07-13 23:44:58 +02:00
LICENSE Update MIT license 2015-07-29 09:39:38 +02:00
Makefile makefile: add install method 2018-07-16 21:24:31 +02:00
MANIFEST.in better why to get the version 2018-07-10 21:32:54 +02:00
README.md Update set a good version when build windows binaries 2018-07-13 19:17:01 +02:00
requirements-dev.txt Add some files that will be used for testing 2018-05-13 12:09:27 +02:00
requirements.txt Add pyyaml as deps 2018-05-13 13:06:50 +02:00
setup.cfg better why to get the version 2018-07-10 21:32:54 +02:00
setup.py better why to get the version 2018-07-10 21:32:54 +02:00
setversion.py Update set a good version when build windows binaries 2018-07-13 19:17:01 +02:00
svtplay-dl.pod Fix list item 2017-05-08 00:18:00 +02:00
tox.ini tox, we should also run lint 2018-05-13 12:09:27 +02:00
versioneer.py better why to get the version 2018-07-10 21:32:54 +02:00

svtplay-dl

Installation

MacOS

If you have Homebrew on your machine you can install by running:

    brew install svtplay-dl

You will need to run brew install ffmpeg or brew install libav afterwards, if you don't already have one of these packages.

Debian and Ubuntu

svtplay-dl is available in Debian Jessie and later and on Ubuntu 14.04 and later, which means you can install it straight away using apt. The version in their repo is often old and thus we strongly recommend using our own apt repo, which always include the latest version. The svtplay-dl repo for Debian / Ubuntu can be found at 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 https://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

Solus

svtplay-dl is avaliable in the stable repository of Solus and can be installed by running:

sudo eopkg it svtplay-dl

Windows

You can download the Windows binaries from svtplay-dl.se

If you want to build your own Windows binaries:

  1. Install cx_freeze
  2. Follow the steps listed under From source
  3. cd path\to\svtplay-dl && mkdir build
  4. python setversion.py # this will change the version string to a more useful one
  5. python %PYTHON%\\Scripts\\cxfreeze --include-modules=queue,idna.idnadata --target-dir=build bin/svtplay-dl
  6. Find binary in build folder. you need svtplay-dl.exe and pythonXX.dll from that folder to run svtplay-dl.exe

Other systems with python

    pip3 install svtplay-dl

Any UNIX (Linux, BSD, macOS, etc.)

Download with curl
sudo curl -L https://svtplay-dl.se/download/latest/svtplay-dl -o /usr/local/bin/svtplay-dl
Make it executable
sudo chmod a+rx /usr/local/bin/svtplay-dl

From source

If packaging isnt available for your operating system, or you want to use a non-released version, youll want to install from source. Use git to download the sources:

    git clone https://github.com/spaam/svtplay-dl

svtplay-dl requires the following additional tools and libraries. They are usually available from your distributions package repositories. If you dont have them, some features will not be working.

To install it, run:
    sudo python3 setup.py install

After install

    svtplay-dl [options] URL

If you encounter any bugs or problems, dont hesitate to open an issue on github. Or why not join the #svtplay-dl IRC channel on Freenode?

Supported services

This script works for:

  • aftonbladet.se
  • bambuser.com
  • comedycentral.se
  • 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
  • viafree.se (former tv3play.se, tv6play.se, tv8play.se, tv10play.se)
  • viafree.dk (former tv3play.dk)
  • viafree.no (former tv3play.no, viasat4play.no)
  • 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) Homepage: svtplay-dl.se