mirror of
https://github.com/l1ving/youtube-dl
synced 2025-02-15 23:03:06 +08:00
[playtvak] Avoid scary warning for videos without description
Live video feeds do not have any description - see the second test. Signed-off-by: Ondřej Caletka <ondrej@caletka.cz>
This commit is contained in:
parent
cbaa42c305
commit
55778f261d
@ -158,7 +158,7 @@ class PlaytvakIE(InfoExtractor):
|
||||
if is_live:
|
||||
title = self._live_title(title)
|
||||
description = self._og_search_description(webpage, default=None) or self._html_search_meta(
|
||||
'description', webpage, 'description')
|
||||
'description', webpage, 'description', default=None)
|
||||
timestamp = None
|
||||
duration = None
|
||||
if not is_live:
|
||||
|
Loading…
Reference in New Issue
Block a user