瀏覽代碼

[snagfilms] More tests

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

+ 8 - 0
youtube_dl/extractor/snagfilms.py

@@ -109,6 +109,14 @@ class SnagFilmsIE(InfoExtractor):
             'duration': 979,
             'categories': ['Documentary', 'Sports', 'Politics']
         }
+    }, {
+        # Film is not playable in your area.
+        'url': 'http://www.snagfilms.com/films/title/inside_mecca',
+        'only_matching': True,
+    }, {
+        # Film is not available.
+        'url': 'http://www.snagfilms.com/show/augie_alone/flirting',
+        'only_matching': True,
     }]
 
     def _real_extract(self, url):