[facebook] Add test for plugin video embed (#13493)
authorSergey M․ <dstftw@gmail.com>
Tue, 27 Jun 2017 15:36:54 +0000 (22:36 +0700)
committerSergey M․ <dstftw@gmail.com>
Tue, 27 Jun 2017 15:38:59 +0000 (22:38 +0700)
youtube_dl/extractor/generic.py

index 760a7f9c24d0c7de8f1c7e6e1a895effec67bb17..2792ea3cfae43ad4a9c5d39c4fa01166f57c9692 100644 (file)
@@ -1522,6 +1522,21 @@ class GenericIE(InfoExtractor):
                 'title': 'Facebook video #599637780109885',
             },
         },
+        # Facebook <iframe> embed, plugin video
+        {
+            'url': 'http://5pillarsuk.com/2017/06/07/tariq-ramadan-disagrees-with-pr-exercise-by-imams-refusing-funeral-prayers-for-london-attackers/',
+            'info_dict': {
+                'id': '1754168231264132',
+                'ext': 'mp4',
+                'title': 'About the Imams and Religious leaders refusing to perform funeral prayers for...',
+                'uploader': 'Tariq Ramadan (official)',
+                'timestamp': 1496758379,
+                'upload_date': '20170606',
+            },
+            'params': {
+                'skip_download': True,
+            },
+        },
         # Facebook API embed
         {
             'url': 'http://www.lothype.com/blue-stars-2016-preview-standstill-full-show/',