1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-03-10 17:07:18 +08:00

Update nzz.py

This commit is contained in:
Sergey M 2018-11-21 02:46:11 +07:00 committed by GitHub
parent 41a01943e2
commit 50a024d8e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,7 +31,7 @@ class NZZIE(InfoExtractor):
entries = []
for player_element in re.findall(
r'(<[^>]+class="kalturaPlayer(?:[^"]*)?"[^>]*>)', webpage):
r'(<[^>]+class="kalturaPlayer[^"]*"[^>]*>)', webpage):
player_params = extract_attributes(player_element)
if player_params.get('data-type') not in ('kaltura_singleArticle',):
self.report_warning('Unsupported player type')