From 1cd4bb0d829db8e7c36090aee564d34fe420135c Mon Sep 17 00:00:00 2001 From: dirkf Date: Sun, 27 Feb 2022 04:52:38 +0000 Subject: [PATCH] [mtv] Get timestamp from if not found in of feed XML --- youtube_dl/extractor/mtv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/mtv.py b/youtube_dl/extractor/mtv.py index 142945b09..36caf9f1b 100644 --- a/youtube_dl/extractor/mtv.py +++ b/youtube_dl/extractor/mtv.py @@ -157,7 +157,7 @@ class MTVServicesInfoExtractor(InfoExtractor): description = strip_or_none(xpath_text(itemdoc, 'description')) - timestamp = timeconvert(xpath_text(itemdoc, 'pubDate')) + timestamp = timeconvert(xpath_text(itemdoc, 'pubDate') or xpath_text(itemdoc, 'airDate')) title_el = None if title_el is None: