youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit e45b31d9bd824b01142d52b0de0d6823a49b2af6
parent 5a25f396530d32ae66611c271b70b6e4c08ba602
Author: Philipp Hagemeister <phihag@phihag.de>
Date:   Mon, 10 Mar 2014 13:12:57 +0100

[vevo] Interpret date as UTC instead of local time

Diffstat:
Myoutube_dl/extractor/vevo.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/youtube_dl/extractor/vevo.py b/youtube_dl/extractor/vevo.py @@ -169,7 +169,7 @@ class VevoIE(InfoExtractor): timestamp_ms = int(self._search_regex( r'/Date\((\d+)\)/', video_info['launchDate'], 'launch date')) - upload_date = datetime.datetime.fromtimestamp(timestamp_ms // 1000) + upload_date = datetime.datetime.utcfromtimestamp(timestamp_ms // 1000) return { 'id': video_id, 'title': video_info['title'],