summary refs log tree commit diff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2017-06-27 22:36:54 +0700
committerSergey M․ <dstftw@gmail.com>2017-06-27 22:38:59 +0700
commitfd1c5fba6bee4de36cc3276d86c84c0abc054a2f (patch)
tree17211e1111995cead969eafe254ef4e3c86ae50c
parent0646e34c7d511a02d8d93e840bceaa3521c2204e (diff)
downloadyoutube-dl-fd1c5fba6bee4de36cc3276d86c84c0abc054a2f.tar.gz
youtube-dl-fd1c5fba6bee4de36cc3276d86c84c0abc054a2f.tar.xz
youtube-dl-fd1c5fba6bee4de36cc3276d86c84c0abc054a2f.zip
[facebook] Add test for plugin video embed (#13493)
-rw-r--r--youtube_dl/extractor/generic.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py
index 760a7f9c2..2792ea3cf 100644
--- a/youtube_dl/extractor/generic.py
+++ b/youtube_dl/extractor/generic.py
@@ -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/',