projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a25f39
)
[vevo] Interpret date as UTC instead of local time
author
Philipp Hagemeister
<phihag@phihag.de>
Mon, 10 Mar 2014 12:12:57 +0000
(13:12 +0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Mon, 10 Mar 2014 12:12:57 +0000
(13:12 +0100)
youtube_dl/extractor/vevo.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/vevo.py
b/youtube_dl/extractor/vevo.py
index fa147a5757df04ca69bac2e3dc6054fe6d2a7797..98a663496303f4e8e357e8816773e9a5a27479cd 100644
(file)
--- 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.
utc
fromtimestamp(timestamp_ms // 1000)
return {
'id': video_id,
'title': video_info['title'],