Skip to content

A feature-rich command-line audio/video downloader

[extractor/swearnet] Fix description bug (#5681)

bashonlyddf1e22d4853
diff --git a/yt_dlp/extractor/swearnet.py b/yt_dlp/extractor/swearnet.py
index 86a303ec73..6e216a2a56 100644
--- a/yt_dlp/extractor/swearnet.py
+++ b/yt_dlp/extractor/swearnet.py
@@ -62,7 +62,7 @@ class SwearnetEpisodeIE(InfoExtractor):
'id': str(json_data['videoId']),
'title': json_data.get('name') or self._html_search_meta(['og:title', 'twitter:title'], webpage),
'description': (json_data.get('description')
- or self._html_search_meta(['og:description', 'twitter:description'])),
+ or self._html_search_meta(['og:description', 'twitter:description'], webpage)),
'duration': int_or_none(json_data.get('seconds')),
'formats': formats,
'subtitles': subtitles,