mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-01-07 17:16:08 +00:00
[zattoo] Add support for tv.salt.ch
This commit is contained in:
parent
61ff92e11e
commit
a81daba231
|
@ -1497,6 +1497,7 @@ from .zattoo import (
|
||||||
QuantumTVIE,
|
QuantumTVIE,
|
||||||
QuicklineIE,
|
QuicklineIE,
|
||||||
QuicklineLiveIE,
|
QuicklineLiveIE,
|
||||||
|
SaltTVIE,
|
||||||
SAKTVIE,
|
SAKTVIE,
|
||||||
VTXTVIE,
|
VTXTVIE,
|
||||||
WalyTVIE,
|
WalyTVIE,
|
||||||
|
|
|
@ -420,3 +420,14 @@ class EinsUndEinsTVIE(ZattooIE):
|
||||||
'url': 'https://www.1und1.tv/watch/abc/123-abc',
|
'url': 'https://www.1und1.tv/watch/abc/123-abc',
|
||||||
'only_matching': True,
|
'only_matching': True,
|
||||||
}]
|
}]
|
||||||
|
|
||||||
|
|
||||||
|
class SaltTVIE(ZattooIE):
|
||||||
|
_NETRC_MACHINE = 'salttv'
|
||||||
|
_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,
|
||||||
|
}]
|
||||||
|
|
Loading…
Reference in a new issue