aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbashonly <88596187+bashonly@users.noreply.github.com>2022-12-01 11:24:43 +0000
committerGitHub <noreply@github.com>2022-12-01 11:24:43 +0000
commitddf1e22d48530819d60220d0bdc36e20f5b8483b (patch)
tree22c0542e2339c06d54dbe130c5cae22945490002
parent0e96b408b994678764a89cabbb3879b2c383624a (diff)
downloadhypervideo-pre-ddf1e22d48530819d60220d0bdc36e20f5b8483b.tar.lz
hypervideo-pre-ddf1e22d48530819d60220d0bdc36e20f5b8483b.tar.xz
hypervideo-pre-ddf1e22d48530819d60220d0bdc36e20f5b8483b.zip
[extractor/swearnet] Fix description bug (#5681)
Bug in 049565df2e24d9611a9ffdd033c80a6dafdabbe0 Closes #5643 Authoried by: bashonly
-rw-r--r--yt_dlp/extractor/swearnet.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/swearnet.py b/yt_dlp/extractor/swearnet.py
index 86a303ec7..6e216a2a5 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,