diff options
author | Sergey M․ <[email protected]> | 2021-03-10 03:40:56 +0700 |
---|---|---|
committer | Sergey M․ <[email protected]> | 2021-03-10 03:40:56 +0700 |
commit | 15c24b0346e3951b43dbf29631bfe65292f53ac5 (patch) | |
tree | eedcee6b3e10472737cbca96d0ac1c0664c778f6 | |
parent | 477bff69065872fff6bab5c3a1b0512018fbb6eb (diff) | |
download | youtube-dl-15c24b0346e3951b43dbf29631bfe65292f53ac5.tar.gz youtube-dl-15c24b0346e3951b43dbf29631bfe65292f53ac5.zip |
[lbry] Extract release_timestamp (closes #28386)
-rw-r--r-- | youtube_dl/extractor/lbry.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/youtube_dl/extractor/lbry.py b/youtube_dl/extractor/lbry.py index 413215a99..95782366b 100644 --- a/youtube_dl/extractor/lbry.py +++ b/youtube_dl/extractor/lbry.py @@ -60,6 +60,7 @@ class LBRYBaseIE(InfoExtractor): 'description': stream_value.get('description'), 'license': stream_value.get('license'), 'timestamp': int_or_none(stream.get('timestamp')), + 'release_timestamp': int_or_none(stream_value.get('release_time')), 'tags': stream_value.get('tags'), 'duration': int_or_none(media.get('duration')), 'channel': try_get(signing_channel, lambda x: x['value']['title']), @@ -92,6 +93,8 @@ class LBRYIE(LBRYBaseIE): 'description': 'md5:f6cb5c704b332d37f5119313c2c98f51', 'timestamp': 1595694354, 'upload_date': '20200725', + 'release_timestamp': 1595340697, + 'release_date': '20200721', 'width': 1280, 'height': 720, } @@ -106,6 +109,8 @@ class LBRYIE(LBRYBaseIE): 'description': 'md5:661ac4f1db09f31728931d7b88807a61', 'timestamp': 1591312601, 'upload_date': '20200604', + 'release_timestamp': 1591312421, + 'release_date': '20200604', 'tags': list, 'duration': 2570, 'channel': 'The LBRY Foundation', |