1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-26 02:14:32 +01:00

[extractor/generic] Add publish date to entries

Uses the pubDate tag contained on most podcast xml files.
This commit is contained in:
bas080 2019-10-20 23:28:49 +02:00
parent 2297c0d7d9
commit 42f8a71af1

View File

@ -2183,6 +2183,7 @@ class GenericIE(InfoExtractor):
'_type': 'url_transparent', '_type': 'url_transparent',
'url': next_url, 'url': next_url,
'title': it.find('title').text, 'title': it.find('title').text,
'publish_date': unified_strdate(it.find('pubDate').text),
}) })
return { return {