]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/extractor/teachingchannel.py
New upstream version 2017.02.07
[youtubedl] / youtube_dl / extractor / teachingchannel.py
index e0477382ceabea0769bd0575ceb1f350ce8c0911..e89759714e6e3cea3da8a7007df838618f6f1cc1 100644 (file)
@@ -7,10 +7,11 @@ from .ooyala import OoyalaIE
 
 
 class TeachingChannelIE(InfoExtractor):
 
 
 class TeachingChannelIE(InfoExtractor):
-    _VALID_URL = r'https?://www\.teachingchannel\.org/videos/(?P<title>.+)'
+    _VALID_URL = r'https?://(?:www\.)?teachingchannel\.org/videos/(?P<title>.+)'
 
     _TEST = {
         'url': 'https://www.teachingchannel.org/videos/teacher-teaming-evolution',
 
     _TEST = {
         'url': 'https://www.teachingchannel.org/videos/teacher-teaming-evolution',
+        'md5': '3d6361864d7cac20b57c8784da17166f',
         'info_dict': {
             'id': 'F3bnlzbToeI6pLEfRyrlfooIILUjz4nM',
             'ext': 'mp4',
         'info_dict': {
             'id': 'F3bnlzbToeI6pLEfRyrlfooIILUjz4nM',
             'ext': 'mp4',
@@ -19,9 +20,9 @@ class TeachingChannelIE(InfoExtractor):
             'duration': 422.255,
         },
         'params': {
             'duration': 422.255,
         },
         'params': {
-            # m3u8 download
             'skip_download': True,
         },
             'skip_download': True,
         },
+        'add_ie': ['Ooyala'],
     }
 
     def _real_extract(self, url):
     }
 
     def _real_extract(self, url):