瀏覽代碼

[extractor/generic] Add test for Libsyn embed

Sergey M․ 10 年之前
父節點
當前提交
2051acdeb2
共有 1 個文件被更改,包括 11 次插入0 次删除
  1. 11 0
      youtube_dl/extractor/generic.py

+ 11 - 0
youtube_dl/extractor/generic.py

@@ -527,6 +527,17 @@ class GenericIE(InfoExtractor):
             },
             'add_ie': ['Viddler'],
         },
+        # Libsyn embed
+        {
+            'url': 'http://thedailyshow.cc.com/podcast/episodetwelve',
+            'info_dict': {
+                'id': '3377616',
+                'ext': 'mp3',
+                'title': "The Daily Show Podcast without Jon Stewart - Episode 12: Bassem Youssef: Egypt's Jon Stewart",
+                'description': 'md5:601cb790edd05908957dae8aaa866465',
+                'upload_date': '20150220',
+            },
+        },
         # jwplayer YouTube
         {
             'url': 'http://media.nationalarchives.gov.uk/index.php/webinar-using-discovery-national-archives-online-catalogue/',