mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-10 12:27:15 +08:00
Update nzz.py
This commit is contained in:
parent
41a01943e2
commit
50a024d8e8
@ -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')
|
||||
|
Loading…
x
Reference in New Issue
Block a user