1
0
Fork 0

[extractors] Use new framework for existing embeds (#4307)

`Brightcove` is difficult to migrate because it's subclasses may depend
on the signature of the current functions. So it is left as-is for now

Note: Tests have not been migrated
This commit is contained in:
pukkandan 2022-08-01 06:53:25 +05:30
commit bfd973ece3
138 changed files with 500 additions and 1910 deletions

View file

@ -121,7 +121,7 @@ class HeiseIE(InfoExtractor):
if kaltura_id:
return _make_kaltura_result('kaltura:2238431:%s' % kaltura_id)
yt_urls = YoutubeIE._extract_urls(webpage)
yt_urls = YoutubeIE._extract_embed_urls(url, webpage)
if yt_urls:
return self.playlist_from_matches(
yt_urls, video_id, title, ie=YoutubeIE.ie_key())