1 from .common
import InfoExtractor
4 class TeachingChannelIE(InfoExtractor
):
6 _VALID_URL
= r
'https?://(?:www\.)?teachingchannel\.org/videos?/(?P<id>[^/?&#]+)'
9 'url': 'https://www.teachingchannel.org/videos/teacher-teaming-evolution',
13 'title': 'A History of Teaming',
14 'description': 'md5:2a9033db8da81f2edffa4c99888140b3',
16 'upload_date': '20170316',
17 'timestamp': 1489691297,
20 'skip_download': True,
22 'add_ie': ['JWPlatform'],
25 def _real_extract(self
, url
):
26 display_id
= self
._match
_id
(url
)
27 webpage
= self
._download
_webpage
(url
, display_id
)
28 mid
= self
._search
_regex
(
29 r
'(?:data-mid=["\']|
id=["\']jw-video-player-)([a-zA-Z0-9]{8})',
32 return self.url_result('jwplatform:' + mid, 'JWPlatform', mid)