aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/nextmedia.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/nextmedia.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/nextmedia.py')
-rw-r--r--yt_dlp/extractor/nextmedia.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/yt_dlp/extractor/nextmedia.py b/yt_dlp/extractor/nextmedia.py
index 1f83089fc..0e47a4d45 100644
--- a/yt_dlp/extractor/nextmedia.py
+++ b/yt_dlp/extractor/nextmedia.py
@@ -77,7 +77,7 @@ class NextMediaIE(InfoExtractor):
return self._og_search_property('description', page)
-class NextMediaActionNewsIE(NextMediaIE):
+class NextMediaActionNewsIE(NextMediaIE): # XXX: Do not subclass from concrete IE
IE_DESC = '蘋果日報 - 動新聞'
_VALID_URL = r'https?://hk\.dv\.nextmedia\.com/actionnews/[^/]+/(?P<date>\d+)/(?P<id>\d+)/\d+'
_TESTS = [{
@@ -102,7 +102,7 @@ class NextMediaActionNewsIE(NextMediaIE):
return self._extract_from_nextmedia_page(news_id, url, article_page)
-class AppleDailyIE(NextMediaIE):
+class AppleDailyIE(NextMediaIE): # XXX: Do not subclass from concrete IE
IE_DESC = '臺灣蘋果日報'
_VALID_URL = r'https?://(www|ent)\.appledaily\.com\.tw/[^/]+/[^/]+/[^/]+/(?P<date>\d+)/(?P<id>\d+)(/.*)?'
_TESTS = [{