A feature-rich command-line audio/video downloader
[extractor/embedly] Embedded links may be for other extractors
pukkandan87ebab0615b1
diff --git a/yt_dlp/extractor/embedly.py b/yt_dlp/extractor/embedly.pyindex db5ef055ec..1b58fca60f 100644--- a/yt_dlp/extractor/embedly.py+++ b/yt_dlp/extractor/embedly.py@@ -62,13 +62,13 @@ class EmbedlyIE(InfoExtractor):}]@classmethod- def _extract_embed_urls(cls, url, webpage):- # Bypass suitable check+ def _extract_from_webpage(cls, url, webpage):+ # Bypass "ie=cls" and suitable checkfor mobj in re.finditer(r'class=["\']embedly-card["\'][^>]href=["\'](?P<url>[^"\']+)', webpage):- yield mobj.group('url')+ yield cls.url_result(mobj.group('url'))for mobj in re.finditer(r'class=["\']embedly-embed["\'][^>]src=["\'][^"\']*url=(?P<url>[^&]+)', webpage):- yield urllib.parse.unquote(mobj.group('url'))+ yield cls.url_result(urllib.parse.unquote(mobj.group('url')))def _real_extract(self, url):qs = parse_qs(url)