mirror of
https://github.com/l1ving/youtube-dl
synced 2020-11-18 19:53:54 -08:00
Update nzz.py
This commit is contained in:
parent
41a01943e2
commit
50a024d8e8
@ -31,7 +31,7 @@ class NZZIE(InfoExtractor):
|
|||||||
|
|
||||||
entries = []
|
entries = []
|
||||||
for player_element in re.findall(
|
for player_element in re.findall(
|
||||||
r'(<[^>]+class="kalturaPlayer(?:[^"]*)?"[^>]*>)', webpage):
|
r'(<[^>]+class="kalturaPlayer[^"]*"[^>]*>)', webpage):
|
||||||
player_params = extract_attributes(player_element)
|
player_params = extract_attributes(player_element)
|
||||||
if player_params.get('data-type') not in ('kaltura_singleArticle',):
|
if player_params.get('data-type') not in ('kaltura_singleArticle',):
|
||||||
self.report_warning('Unsupported player type')
|
self.report_warning('Unsupported player type')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user