[zattoo] Add new Zattoo reseller: Salt

This commit is contained in:
Alexander Seiler 2019-01-27 18:34:38 +01:00
parent e71be6ee9f
commit 0139205cee
No known key found for this signature in database
GPG Key ID: 44310017D4EABE90
2 changed files with 12 additions and 0 deletions

View File

@ -1497,6 +1497,7 @@ from .zattoo import (
QuantumTVIE,
QuicklineIE,
QuicklineLiveIE,
SaltIE,
SAKTVIE,
VTXTVIE,
WalyTVIE,

View File

@ -420,3 +420,14 @@ class EinsUndEinsTVIE(ZattooIE):
'url': 'https://www.1und1.tv/watch/abc/123-abc',
'only_matching': True,
}]
class SaltIE(ZattooIE):
_NETRC_MACHINE = 'salt'
_HOST = 'tv.salt.ch'
_VALID_URL = _make_valid_url(ZattooIE._VALID_URL_TEMPLATE, _HOST)
_TESTS = [{
'url': 'https://tv.salt.ch/watch/abc/123-abc',
'only_matching': True,
}]