[pbs] Add test for flp frontline embeds
authorSergey M․ <dstftw@gmail.com>
Fri, 6 Nov 2015 18:42:30 +0000 (00:42 +0600)
committerSergey M․ <dstftw@gmail.com>
Fri, 6 Nov 2015 18:42:30 +0000 (00:42 +0600)
youtube_dl/extractor/pbs.py

index 3169e9c3f0fecaa1effb7b38e9059953a5d60e66..a690f9c29f11fe2f04a60995ab1f5f2189a2e880 100644 (file)
@@ -154,6 +154,22 @@ class PBSIE(InfoExtractor):
             'params': {
                 'skip_download': True,  # requires ffmpeg
             },
+        },
+        {
+            # Frontline video embedded via flp2012.js
+            'url': 'http://www.pbs.org/wgbh/pages/frontline/the-atomic-artists',
+            'info_dict': {
+                'id': '2070868960',
+                'display_id': 'the-atomic-artists',
+                'ext': 'mp4',
+                'title': 'FRONTLINE - The Atomic Artists',
+                'description': 'md5:f5bfbefadf421e8bb8647602011caf8e',
+                'duration': 723,
+                'thumbnail': 're:^https?://.*\.jpg$',
+            },
+            'params': {
+                'skip_download': True,  # requires ffmpeg
+            },
         }
     ]
     _ERRORS = {