From b6436bb03b419a855494d997d97040a6747cc453 Mon Sep 17 00:00:00 2001 From: Ben Rog-Wilhelm Date: Mon, 13 May 2019 00:15:12 -0700 Subject: [PATCH] Extend Kaltura whitespace stripping to unlimited amounts of all whitespace --- youtube_dl/extractor/kaltura.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/kaltura.py b/youtube_dl/extractor/kaltura.py index 48204492b..8ee231969 100644 --- a/youtube_dl/extractor/kaltura.py +++ b/youtube_dl/extractor/kaltura.py @@ -135,7 +135,7 @@ class KalturaIE(InfoExtractor): ''', webpage) or re.search( r'''(?xs) - <(?:iframe[^>]+src|meta[^>]+\bcontent)=(?P["'])[ ]? + <(?:iframe[^>]+src|meta[^>]+\bcontent)=(?P["'])\s* (?:https?:)?//(?:(?:www|cdnapi(?:sec)?)\.)?kaltura\.com/(?:(?!(?P=q1)).)*\b(?:p|partner_id)/(?P\d+) (?:(?!(?P=q1)).)* [?&;]entry_id=(?P(?:(?!(?P=q1))[^&])+)