From bfd973ece3369c593b5e82a88cc16de80088a73e Mon Sep 17 00:00:00 2001 From: pukkandan Date: Mon, 1 Aug 2022 06:53:25 +0530 Subject: [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 --- yt_dlp/extractor/limelight.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'yt_dlp/extractor/limelight.py') diff --git a/yt_dlp/extractor/limelight.py b/yt_dlp/extractor/limelight.py index 25667fc07..90065094b 100644 --- a/yt_dlp/extractor/limelight.py +++ b/yt_dlp/extractor/limelight.py @@ -17,7 +17,7 @@ class LimelightBaseIE(InfoExtractor): _PLAYLIST_SERVICE_URL = 'http://production-ps.lvp.llnw.net/r/PlaylistService/%s/%s/%s' @classmethod - def _extract_urls(cls, webpage, source_url): + def _extract_embed_urls(cls, url, webpage): lm = { 'Media': 'media', 'Channel': 'channel', @@ -25,7 +25,7 @@ class LimelightBaseIE(InfoExtractor): } def smuggle(url): - return smuggle_url(url, {'source_url': source_url}) + return smuggle_url(url, {'source_url': url}) entries = [] for kind, video_id in re.findall( -- cgit v1.2.3