aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-03-13 18:44:55 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2014-03-13 18:45:14 +0100
commitaba77bbfc275440af00ab4bfe8de2733009f4bd8 (patch)
treef361741e007163420f34f585d24b91e7503f9fde
parent955c451456e5268e8596da79d1fcf48df2af7a55 (diff)
downloadyoutube-dl-aba77bbfc275440af00ab4bfe8de2733009f4bd8.tar.xz
[vevo] Adapt test to constantly changing timestamp
-rw-r--r--youtube_dl/extractor/vevo.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/youtube_dl/extractor/vevo.py b/youtube_dl/extractor/vevo.py
index 8f4db59d4..c3360f166 100644
--- a/youtube_dl/extractor/vevo.py
+++ b/youtube_dl/extractor/vevo.py
@@ -58,8 +58,9 @@ class VevoIE(InfoExtractor):
'age_limit': 18,
'title': 'Tunnel Vision (Explicit)',
'uploader': 'Justin Timberlake',
- 'upload_date': '20130704',
- 'timestamp': 1372906800,
+ # timestamp and upload_date are often incorrect; seem to change randomly
+ 'upload_date': 're:2013070[34]',
+ 'timestamp': int,
},
'params': {
'skip_download': 'true',