about summary refs log tree commit diff
path: root/youtube_dl/extractor/nowness.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-09-13 19:27:22 +0600
committerSergey M․ <dstftw@gmail.com>2015-09-13 19:27:22 +0600
commitc246773599f6b541033ac926ac6ed360fb63f6ae (patch)
tree5dde3f630a4b8c147b582c835681be059ff013a7 /youtube_dl/extractor/nowness.py
parent25cd56a7153244f42263be7ac5f857fb3a863289 (diff)
downloadyoutube-dl-c246773599f6b541033ac926ac6ed360fb63f6ae.tar.gz
youtube-dl-c246773599f6b541033ac926ac6ed360fb63f6ae.tar.xz
youtube-dl-c246773599f6b541033ac926ac6ed360fb63f6ae.zip
[nowness] Add vimeo test
Diffstat (limited to 'youtube_dl/extractor/nowness.py')
-rw-r--r--youtube_dl/extractor/nowness.py18
1 files changed, 16 insertions, 2 deletions
diff --git a/youtube_dl/extractor/nowness.py b/youtube_dl/extractor/nowness.py
index 9fb916c18..b97f62fdb 100644
--- a/youtube_dl/extractor/nowness.py
+++ b/youtube_dl/extractor/nowness.py
@@ -58,7 +58,7 @@ class NownessIE(NownessBaseIE):
             'description': 'Candor: The Art of Gesticulation',
             'thumbnail': 're:^https?://.*\.jpg',
             'uploader': 'Nowness',
-        }
+        },
     }, {
         'url': 'https://cn.nowness.com/story/kasper-bjorke-ft-jaakko-eino-kalevi-tnr',
         'md5': 'e79cf125e387216f86b2e0a5b5c63aa3',
@@ -69,7 +69,21 @@ class NownessIE(NownessBaseIE):
             'description': 'Kasper Bjørke ft. Jaakko Eino Kalevi: TNR',
             'thumbnail': 're:^https?://.*\.jpg',
             'uploader': 'Nowness',
-        }
+        },
+    }, {
+        # vimeo
+        'url': 'https://www.nowness.com/series/nowness-picks/jean-luc-godard-supercut',
+        'md5': '9a5a6a8edf806407e411296ab6bc2a49',
+        'info_dict': {
+            'id': '130020913',
+            'ext': 'mp4',
+            'title': 'Bleu, Blanc, Rouge - A Godard Supercut',
+            'description': 'md5:f0ea5f1857dffca02dbd37875d742cec',
+            'thumbnail': 're:^https?://.*\.jpg',
+            'upload_date': '20150607',
+            'uploader': 'Cinema Sem Lei',
+            'uploader_id': 'cinemasemlei',
+        },
     }]
 
     def _real_extract(self, url):