aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/generic.py
diff options
context:
space:
mode:
Diffstat (limited to 'youtube_dl/extractor/generic.py')
-rw-r--r--youtube_dl/extractor/generic.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py
index 8ed2789d0..d0e0d6919 100644
--- a/youtube_dl/extractor/generic.py
+++ b/youtube_dl/extractor/generic.py
@@ -30,6 +30,7 @@ from ..utils import (
smuggle_url,
unescapeHTML,
unified_strdate,
+ unified_timestamp,
unsmuggle_url,
UnsupportedError,
xpath_text,
@@ -2208,6 +2209,8 @@ class GenericIE(InfoExtractor):
'url': next_url,
'title': it.find('title').text,
'description': xpath_text(it, 'description', default=None),
+ 'timestamp': unified_timestamp(
+ xpath_text(it, 'pubDate', default=None)),
})
return {