From: Sergey M․ Date: Sun, 31 May 2020 04:10:31 +0000 (+0700) Subject: [jwplatform] Improve embeds extraction (closes #25467) X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=bef4688c72f9bdb37f261cc2699d6915a5593edc;p=youtube-dl [jwplatform] Improve embeds extraction (closes #25467) --- diff --git a/youtube_dl/extractor/jwplatform.py b/youtube_dl/extractor/jwplatform.py index 2aabd98b5..dfa07e423 100644 --- a/youtube_dl/extractor/jwplatform.py +++ b/youtube_dl/extractor/jwplatform.py @@ -32,7 +32,7 @@ class JWPlatformIE(InfoExtractor): @staticmethod def _extract_urls(webpage): return re.findall( - r'<(?:script|iframe)[^>]+?src=["\']((?:https?:)?//content\.jwplatform\.com/players/[a-zA-Z0-9]{8})', + r'<(?:script|iframe)[^>]+?src=["\']((?:https?:)?//(?:content\.jwplatform|cdn\.jwplayer)\.com/players/[a-zA-Z0-9]{8})', webpage) def _real_extract(self, url):