diff options
author | Sergey M․ <dstftw@gmail.com> | 2021-03-10 03:41:21 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2021-03-10 03:41:21 +0700 |
commit | bae7dbf78be3a03d8454d1b17bfdbf1bfa0de715 (patch) | |
tree | c1aa79c58b93ed9e68b64cd0b79092d5aaf026ff | |
parent | 15c24b0346e3951b43dbf29631bfe65292f53ac5 (diff) |
[bandcamp] Extract release_timestamp
-rw-r--r-- | youtube_dl/extractor/bandcamp.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/youtube_dl/extractor/bandcamp.py b/youtube_dl/extractor/bandcamp.py index 69e673a26..006aab3b4 100644 --- a/youtube_dl/extractor/bandcamp.py +++ b/youtube_dl/extractor/bandcamp.py @@ -49,6 +49,7 @@ class BandcampIE(InfoExtractor): 'uploader': 'Ben Prunty', 'timestamp': 1396508491, 'upload_date': '20140403', + 'release_timestamp': 1396483200, 'release_date': '20140403', 'duration': 260.877, 'track': 'Lanius (Battle)', @@ -69,6 +70,7 @@ class BandcampIE(InfoExtractor): 'uploader': 'Mastodon', 'timestamp': 1322005399, 'upload_date': '20111122', + 'release_timestamp': 1076112000, 'release_date': '20040207', 'duration': 120.79, 'track': 'Hail to Fire', @@ -197,7 +199,7 @@ class BandcampIE(InfoExtractor): 'thumbnail': thumbnail, 'uploader': artist, 'timestamp': timestamp, - 'release_date': unified_strdate(tralbum.get('album_release_date')), + 'release_timestamp': unified_timestamp(tralbum.get('album_release_date')), 'duration': duration, 'track': track, 'track_number': track_number, |