X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;f=youtube_dl%2Fextractor%2Fvevo.py;h=888eb7402b085014516c1457b37f42273618ce05;hb=c21215b421e32ab3cc9e4672e98f9e50bc6714e1;hp=fa147a5757df04ca69bac2e3dc6054fe6d2a7797;hpb=f55a1f0a8815c89b01a7a353cfa0bd5118f75829;p=youtube-dl.git diff --git a/youtube_dl/extractor/vevo.py b/youtube_dl/extractor/vevo.py index fa147a575..888eb7402 100644 --- a/youtube_dl/extractor/vevo.py +++ b/youtube_dl/extractor/vevo.py @@ -57,7 +57,7 @@ class VevoIE(InfoExtractor): 'age_limit': 18, 'title': 'Tunnel Vision (Explicit)', 'uploader': 'Justin Timberlake', - 'upload_date': '20130704', + 'upload_date': '20130703', }, 'params': { 'skip_download': 'true', @@ -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'],