aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Seiler <seileralex@gmail.com>2022-03-31 05:23:32 +0200
committerGitHub <noreply@github.com>2022-03-30 20:23:32 -0700
commit504f789ad55f0581681171abc428c3094057cae1 (patch)
treee634377d2c05f60e24079582383b754f367892f6
parentbb5a7cb8ad9274c7388a54ef6a6ceae24dd892cc (diff)
downloadhypervideo-pre-504f789ad55f0581681171abc428c3094057cae1.tar.lz
hypervideo-pre-504f789ad55f0581681171abc428c3094057cae1.tar.xz
hypervideo-pre-504f789ad55f0581681171abc428c3094057cae1.zip
[AZMedien] Support `tv.telezueri.ch` (#3251)
Authored by: goggle
-rw-r--r--yt_dlp/extractor/azmedien.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/yt_dlp/extractor/azmedien.py b/yt_dlp/extractor/azmedien.py
index b3cabbf94..0168340b9 100644
--- a/yt_dlp/extractor/azmedien.py
+++ b/yt_dlp/extractor/azmedien.py
@@ -11,7 +11,7 @@ class AZMedienIE(InfoExtractor):
IE_DESC = 'AZ Medien videos'
_VALID_URL = r'''(?x)
https?://
- (?:www\.)?
+ (?:www\.|tv\.)?
(?P<host>
telezueri\.ch|
telebaern\.tv|
@@ -31,7 +31,7 @@ class AZMedienIE(InfoExtractor):
'''
_TESTS = [{
- 'url': 'https://www.telezueri.ch/sonntalk/bundesrats-vakanzen-eu-rahmenabkommen-133214569',
+ 'url': 'https://tv.telezueri.ch/sonntalk/bundesrats-vakanzen-eu-rahmenabkommen-133214569',
'info_dict': {
'id': '1_anruz3wy',
'ext': 'mp4',
@@ -39,6 +39,9 @@ class AZMedienIE(InfoExtractor):
'uploader_id': 'TVOnline',
'upload_date': '20180930',
'timestamp': 1538328802,
+ 'view_count': int,
+ 'thumbnail': 'http://cfvod.kaltura.com/p/1719221/sp/171922100/thumbnail/entry_id/1_anruz3wy/version/100031',
+ 'duration': 1930
},
'params': {
'skip_download': True,