diff options
author | Sergey M․ <dstftw@gmail.com> | 2020-05-31 11:10:31 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2020-05-31 11:10:31 +0700 |
commit | bef4688c72f9bdb37f261cc2699d6915a5593edc (patch) | |
tree | 2cc7c1a27d1afb623abcf60376a696695089b5bc /youtube_dl/extractor | |
parent | 228c1d685bb6d35b2c1a73e1adbc085c76da6b75 (diff) | |
download | youtube-dl-bef4688c72f9bdb37f261cc2699d6915a5593edc.tar.xz |
[jwplatform] Improve embeds extraction (closes #25467)
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/jwplatform.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): |