[generic] Add the test. Closes #1638
authorYen Chi Hsuan <yan12125@gmail.com>
Sat, 9 Jul 2016 06:39:01 +0000 (14:39 +0800)
committerYen Chi Hsuan <yan12125@gmail.com>
Sat, 9 Jul 2016 06:39:01 +0000 (14:39 +0800)
youtube_dl/extractor/generic.py

index 4efdf146e740214ad776b6a6c3e939e491cf3814..cddd1a817efb6dd5acb79b7198f1faa755686f7b 100644 (file)
@@ -1313,6 +1313,21 @@ class GenericIE(InfoExtractor):
             },
             'add_ie': ['Kaltura'],
         },
+        {
+            # Non-standard Vimeo embed
+            'url': 'https://openclassrooms.com/courses/understanding-the-web',
+            'md5': '64d86f1c7d369afd9a78b38cbb88d80a',
+            'info_dict': {
+                'id': '148867247',
+                'ext': 'mp4',
+                'title': 'Understanding the web - Teaser',
+                'description': 'This is "Understanding the web - Teaser" by openclassrooms on Vimeo, the home for high quality videos and the people who love them.',
+                'upload_date': '20151214',
+                'uploader': 'OpenClassrooms',
+                'uploader_id': 'openclassrooms',
+            },
+            'add_ie': ['Vimeo'],
+        },
         # {
         #     # TODO: find another test
         #     # http://schema.org/VideoObject