1
0
mirror of https://github.com/l1ving/youtube-dl synced 2026-06-02 01:50:00 +08:00

Update nzz.py

This commit is contained in:
Sergey M
2018-11-21 02:46:11 +07:00
committed by GitHub
Unverified
parent 41a01943e2
commit 50a024d8e8
+1 -1
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')