aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/rai.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2022-11-16 06:27:43 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2022-11-16 06:57:07 +0530
commit6368e2e639bca7e66609911d2672b6a9dc65b052 (patch)
treead1f2fb77baf1213e245511f6edfc6072ab606c5 /yt_dlp/extractor/rai.py
parenta4894d3e25943c4ecf4f38c0d50ce592d2175f29 (diff)
downloadhypervideo-pre-6368e2e639bca7e66609911d2672b6a9dc65b052.tar.lz
hypervideo-pre-6368e2e639bca7e66609911d2672b6a9dc65b052.tar.xz
hypervideo-pre-6368e2e639bca7e66609911d2672b6a9dc65b052.zip
[cleanup] Misc
Closes #5541
Diffstat (limited to 'yt_dlp/extractor/rai.py')
-rw-r--r--yt_dlp/extractor/rai.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/yt_dlp/extractor/rai.py b/yt_dlp/extractor/rai.py
index 6ed8227eb..cd19ec07b 100644
--- a/yt_dlp/extractor/rai.py
+++ b/yt_dlp/extractor/rai.py
@@ -356,7 +356,7 @@ class RaiPlayIE(RaiBaseIE):
}
-class RaiPlayLiveIE(RaiPlayIE):
+class RaiPlayLiveIE(RaiPlayIE): # XXX: Do not subclass from concrete IE
_VALID_URL = r'(?P<base>https?://(?:www\.)?raiplay\.it/dirette/(?P<id>[^/?#&]+))'
_TESTS = [{
'url': 'http://www.raiplay.it/dirette/rainews24',
@@ -504,7 +504,7 @@ class RaiPlaySoundIE(RaiBaseIE):
}
-class RaiPlaySoundLiveIE(RaiPlaySoundIE):
+class RaiPlaySoundLiveIE(RaiPlaySoundIE): # XXX: Do not subclass from concrete IE
_VALID_URL = r'(?P<base>https?://(?:www\.)?raiplaysound\.it/(?P<id>[^/?#&]+)$)'
_TESTS = [{
'url': 'https://www.raiplaysound.it/radio2',
@@ -717,7 +717,7 @@ class RaiIE(RaiBaseIE):
}
-class RaiNewsIE(RaiIE):
+class RaiNewsIE(RaiIE): # XXX: Do not subclass from concrete IE
_VALID_URL = rf'https?://(www\.)?rainews\.it/(?!articoli)[^?#]+-(?P<id>{RaiBaseIE._UUID_RE})(?:-[^/?#]+)?\.html'
_EMBED_REGEX = [rf'<iframe[^>]+data-src="(?P<url>/iframe/[^?#]+?{RaiBaseIE._UUID_RE}\.html)']
_TESTS = [{