aboutsummaryrefslogtreecommitdiff
path: root/yt_dlp/extractor/nbc.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/nbc.py
parenta4894d3e25943c4ecf4f38c0d50ce592d2175f29 (diff)
[cleanup] Misc
Closes #5541
Diffstat (limited to 'yt_dlp/extractor/nbc.py')
-rw-r--r--yt_dlp/extractor/nbc.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/yt_dlp/extractor/nbc.py b/yt_dlp/extractor/nbc.py
index 3de8c1508..dbc82de9f 100644
--- a/yt_dlp/extractor/nbc.py
+++ b/yt_dlp/extractor/nbc.py
@@ -24,7 +24,7 @@ from ..utils import (
)
-class NBCIE(ThePlatformIE):
+class NBCIE(ThePlatformIE): # XXX: Do not subclass from concrete IE
_VALID_URL = r'https?(?P<permalink>://(?:www\.)?nbc\.com/(?:classic-tv/)?[^/]+/video/[^/]+/(?P<id>n?\d+))'
_TESTS = [
@@ -315,7 +315,7 @@ class NBCSportsStreamIE(AdobePassIE):
}
-class NBCNewsIE(ThePlatformIE):
+class NBCNewsIE(ThePlatformIE): # XXX: Do not subclass from concrete IE
_VALID_URL = r'(?x)https?://(?:www\.)?(?:nbcnews|today|msnbc)\.com/([^/]+/)*(?:.*-)?(?P<id>[^/?]+)'
_EMBED_REGEX = [r'<iframe[^>]+src=(["\'])(?P<url>(?:https?:)?//www\.nbcnews\.com/widget/video-embed/[^"\']+)\1']