Browse Source

[pbs] Add test for flp frontline embeds

Sergey M․ 9 years ago
parent
commit
8b6d9406db
1 changed files with 16 additions and 0 deletions
  1. 16 0
      youtube_dl/extractor/pbs.py

+ 16 - 0
youtube_dl/extractor/pbs.py

@@ -154,6 +154,22 @@ class PBSIE(InfoExtractor):
             'params': {
             'params': {
                 'skip_download': True,  # requires ffmpeg
                 '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 = {
     _ERRORS = {