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

Bug in 049565df2e
Closes #5643
Authoried by: bashonly
pull/5690/head
bashonly 2022-12-01 11:24:43 +00:00 zatwierdzone przez GitHub
rodzic 0e96b408b9
commit ddf1e22d48
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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,