From 6a3f8e5ee0cf97276dedf794c02fcfa8aff857be Mon Sep 17 00:00:00 2001 From: hh0rva1h Date: Fri, 24 Apr 2020 10:21:49 +0200 Subject: [PATCH] =?UTF-8?q?orf:=20Add=20=C3=963=20radio=20station?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- youtube_dl/extractor/extractors.py | 1 + youtube_dl/extractor/orf.py | 13 +++++++++++++ 2 files changed, 14 insertions(+) diff --git a/youtube_dl/extractor/extractors.py b/youtube_dl/extractor/extractors.py index 4acb003a9..4b3092028 100644 --- a/youtube_dl/extractor/extractors.py +++ b/youtube_dl/extractor/extractors.py @@ -804,6 +804,7 @@ from .orf import ( ORFFM4IE, ORFFM4StoryIE, ORFOE1IE, + ORFOE3IE, ORFNOEIE, ORFWIEIE, ORFBGLIE, diff --git a/youtube_dl/extractor/orf.py b/youtube_dl/extractor/orf.py index 384d9c876..5f8960156 100644 --- a/youtube_dl/extractor/orf.py +++ b/youtube_dl/extractor/orf.py @@ -341,6 +341,19 @@ class ORFVBGIE(ORFRadioIE): } +class ORFOE3IE(ORFRadioIE): + IE_NAME = 'orf:oe3' + IE_DESC = 'Radio Österreich 3' + _VALID_URL = r'https?://(?Poe3)\.orf\.at/player/(?P[0-9]+)/(?P\w+)' + api_station = "oe3" + loop_station = "oe3" + + _TEST = { + 'url': 'https://oe3.orf.at/player/20200424/3WEK', + 'only_matching': True, + } + + class ORFOE1IE(ORFRadioIE): IE_NAME = 'orf:oe1' IE_DESC = 'Radio Österreich 1'