Browse Source

[vevo] Adapt test to constantly changing timestamp

Philipp Hagemeister 11 years ago
parent
commit
aba77bbfc2
1 changed files with 3 additions and 2 deletions
  1. 3 2
      youtube_dl/extractor/vevo.py

+ 3 - 2
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',