mirror of
https://github.com/ytdl-org/youtube-dl
synced 2025-10-17 05:38:35 +09:00
[mtv] Get timestamp from <airDate> if not found in <pubDate> of feed XML
This commit is contained in:
@@ -157,7 +157,7 @@ class MTVServicesInfoExtractor(InfoExtractor):
|
|||||||
|
|
||||||
description = strip_or_none(xpath_text(itemdoc, 'description'))
|
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
|
title_el = None
|
||||||
if title_el is None:
|
if title_el is None:
|
||||||
|
Reference in New Issue
Block a user