1
0
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:
Ondřej Caletka 2017-12-20 13:59:45 +01:00
parent cbaa42c305
commit 55778f261d
No known key found for this signature in database
GPG Key ID: 013743540F430598

View File

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