From 1d8f34a30f9fbf939543e72b94dc91da39ba0bcf Mon Sep 17 00:00:00 2001 From: hh0rva1h Date: Fri, 24 Apr 2020 09:33:37 +0200 Subject: [PATCH] orf: Fix typo and flake8 errors --- youtube_dl/extractor/orf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/youtube_dl/extractor/orf.py b/youtube_dl/extractor/orf.py index 8cf0a76b8..537c3faa0 100644 --- a/youtube_dl/extractor/orf.py +++ b/youtube_dl/extractor/orf.py @@ -162,7 +162,6 @@ class ORFTVthekIE(InfoExtractor): class ORFRadioIE(InfoExtractor): def _real_extract(self, url): mobj = re.match(self._VALID_URL, url) - station = mobj.group('station') show_date = mobj.group('date') show_id = mobj.group('show') @@ -236,6 +235,7 @@ class ORFNOEIE(ORFRadioIE): 'only_matching': True, } + class ORFWIEIE(ORFRadioIE): IE_NAME = 'orf:wien' IE_DESC = 'Radio Wien' @@ -311,7 +311,7 @@ class ORFSBGIE(ORFRadioIE): class ORFTIRIE(ORFRadioIE): IE_NAME = 'orf:tirol' IE_DESC = 'Radio Tirol' - _VALID_URL = r'https?://(?Psalzburg)\.orf\.at/player/(?P[0-9]+)/(?P\w+)' + _VALID_URL = r'https?://(?Ptirol)\.orf\.at/player/(?P[0-9]+)/(?P\w+)' api_station = "tir" loop_station = "oe2t"