1
0
mirror of https://github.com/l1ving/youtube-dl synced 2020-11-18 19:53:54 -08:00

Extend Kaltura whitespace stripping to unlimited amounts of all whitespace

This commit is contained in:
Ben Rog-Wilhelm 2019-05-13 00:15:12 -07:00
parent cf25e8d345
commit b6436bb03b

View File

@ -135,7 +135,7 @@ class KalturaIE(InfoExtractor):
''', webpage)
or re.search(
r'''(?xs)
<(?:iframe[^>]+src|meta[^>]+\bcontent)=(?P<q1>["'])[ ]?
<(?:iframe[^>]+src|meta[^>]+\bcontent)=(?P<q1>["'])\s*
(?:https?:)?//(?:(?:www|cdnapi(?:sec)?)\.)?kaltura\.com/(?:(?!(?P=q1)).)*\b(?:p|partner_id)/(?P<partner_id>\d+)
(?:(?!(?P=q1)).)*
[?&;]entry_id=(?P<id>(?:(?!(?P=q1))[^&])+)