1
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-03-09 12:50:23 -05:00

Update yt_dlp/extractor/tvw.py

Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
This commit is contained in:
sepro 2025-03-03 23:21:25 +01:00 committed by GitHub
parent e73e4ad048
commit 3679f8133a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -103,8 +103,8 @@ def _real_extract(self, url):
'display_id': display_id, 'display_id': display_id,
'formats': formats, 'formats': formats,
'subtitles': subtitles, 'subtitles': subtitles,
'title': remove_end(self._og_search_title(webpage), ' - TVW'), 'title': remove_end(self._og_search_title(webpage, default=None), ' - TVW'),
'description': self._og_search_description(webpage), 'description': self._og_search_description(webpage, default=None),
**traverse_obj(video_data, { **traverse_obj(video_data, {
'title': ('title', {str}), 'title': ('title', {str}),
'description': ('description', {clean_html}), 'description': ('description', {clean_html}),