aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/ant1newsgr.py
diff options
context:
space:
mode:
Diffstat (limited to 'yt_dlp/extractor/ant1newsgr.py')
-rw-r--r--yt_dlp/extractor/ant1newsgr.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/yt_dlp/extractor/ant1newsgr.py b/yt_dlp/extractor/ant1newsgr.py
index 7d70e0427..1075b461e 100644
--- a/yt_dlp/extractor/ant1newsgr.py
+++ b/yt_dlp/extractor/ant1newsgr.py
@@ -97,8 +97,8 @@ class Ant1NewsGrArticleIE(Ant1NewsGrBaseIE):
embed_urls = list(Ant1NewsGrEmbedIE._extract_urls(webpage))
if not embed_urls:
raise ExtractorError('no videos found for %s' % video_id, expected=True)
- return self.url_result_or_playlist_from_matches(
- embed_urls, video_id, info['title'], ie=Ant1NewsGrEmbedIE.ie_key(),
+ return self.playlist_from_matches(
+ embed_urls, video_id, info.get('title'), ie=Ant1NewsGrEmbedIE.ie_key(),
video_kwargs={'url_transparent': True, 'timestamp': info.get('timestamp')})