aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dl/extractor/zdf.py
diff options
context:
space:
mode:
authorFliegendeWurst <2012gdwu@web.de>2019-08-23 11:42:12 +0200
committerFliegendeWurst <2012gdwu@web.de>2020-01-21 12:21:42 +0100
commitc15c8e25af432a5d7310904f70150b8f25a66b5c (patch)
treeff91ad1e5e0cf89efa4681904cc70a6ef1981d41 /youtube_dl/extractor/zdf.py
parent22cb94902f5bbe32d636009c2599eae7aa66282c (diff)
downloadhypervideo-pre-c15c8e25af432a5d7310904f70150b8f25a66b5c.tar.lz
hypervideo-pre-c15c8e25af432a5d7310904f70150b8f25a66b5c.tar.xz
hypervideo-pre-c15c8e25af432a5d7310904f70150b8f25a66b5c.zip
[ZDF/3sat/phoenix] Let ZDF extractor work with 3sat.de
Diffstat (limited to 'youtube_dl/extractor/zdf.py')
-rw-r--r--youtube_dl/extractor/zdf.py14
1 files changed, 13 insertions, 1 deletions
diff --git a/youtube_dl/extractor/zdf.py b/youtube_dl/extractor/zdf.py
index 145c123a4..bf4022fbe 100644
--- a/youtube_dl/extractor/zdf.py
+++ b/youtube_dl/extractor/zdf.py
@@ -39,11 +39,23 @@ class ZDFBaseIE(InfoExtractor):
class ZDFIE(ZDFBaseIE):
- _VALID_URL = r'https?://www\.zdf\.de/(?:[^/]+/)*(?P<id>[^/?]+)\.html'
+ IE_NAME = "ZDF-3sat"
+ _VALID_URL = r'https?://www\.(zdf|3sat)\.de/(?:[^/]+/)*(?P<id>[^/?]+)\.html'
_QUALITIES = ('auto', 'low', 'med', 'high', 'veryhigh')
_GEO_COUNTRIES = ['DE']
_TESTS = [{
+ 'url': 'https://www.3sat.de/wissen/wissenschaftsdoku/luxusgut-lebensraum-100.html',
+ 'info_dict': {
+ 'id': 'luxusgut-lebensraum-100',
+ 'ext': 'mp4',
+ 'title': 'Luxusgut Lebensraum',
+ 'description': 'md5:5c09b2f45ac3bc5233d1b50fc543d061',
+ 'duration': 2601,
+ 'timestamp': 1566497700,
+ 'upload_date': '20190822',
+ }
+ }, {
'url': 'https://www.zdf.de/dokumentation/terra-x/die-magie-der-farben-von-koenigspurpur-und-jeansblau-100.html',
'info_dict': {
'id': 'die-magie-der-farben-von-koenigspurpur-und-jeansblau-100',