[vevo] Adapt test to constantly changing timestamp
authorPhilipp Hagemeister <phihag@phihag.de>
Thu, 13 Mar 2014 17:44:55 +0000 (18:44 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Thu, 13 Mar 2014 17:45:14 +0000 (18:45 +0100)
youtube_dl/extractor/vevo.py

index 8f4db59d42dc4fc8268295e6a22f3470d47be9c3..c3360f16676183b868eeb495b5552e9a459477c3 100644 (file)
@@ -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',