Skip to content

Commit

Permalink
[bandcamp] Extract release_timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
dstftw authored and leshasmlesha committed Apr 3, 2021
1 parent 127e2c1 commit 84b233b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion youtube_dl/extractor/bandcamp.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)',
Expand All @@ -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',
Expand Down Expand Up @@ -197,7 +199,7 @@ def _real_extract(self, url):
'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,
Expand Down

0 comments on commit 84b233b

Please sign in to comment.