1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-30 04:08:01 +01:00

[mit] Allow external embeds (Closes #7406)

This commit is contained in:
Sergey M․ 2015-11-08 19:19:13 +06:00
parent cc8034cc4c
commit f09a767d31

View File

@ -86,7 +86,7 @@ class MITIE(TechTVMITIE):
webpage = self._download_webpage(url, page_title) webpage = self._download_webpage(url, page_title)
embed_url = self._search_regex( embed_url = self._search_regex(
r'<iframe .*?src="(.+?)"', webpage, 'embed url') r'<iframe .*?src="(.+?)"', webpage, 'embed url')
return self.url_result(embed_url, ie='TechTVMIT') return self.url_result(embed_url)
class OCWMITIE(InfoExtractor): class OCWMITIE(InfoExtractor):