mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-09-10 00:58:17 +02:00
[mit] Allow external embeds (Closes #7406)
This commit is contained in:
parent
cc8034cc4c
commit
f09a767d31
@ -86,7 +86,7 @@ def _real_extract(self, url):
|
|||||||
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):
|
||||||
|
Loading…
Reference in New Issue
Block a user