|
@@ -4,13 +4,12 @@ import re
|
|
|
|
|
|
from .common import InfoExtractor
|
|
from .common import InfoExtractor
|
|
from ..utils import (
|
|
from ..utils import (
|
|
- unified_strdate,
|
|
|
|
|
|
+ fix_xml_ampersands,
|
|
parse_duration,
|
|
parse_duration,
|
|
qualities,
|
|
qualities,
|
|
strip_jsonp,
|
|
strip_jsonp,
|
|
|
|
+ unified_strdate,
|
|
url_basename,
|
|
url_basename,
|
|
- fix_xml_ampersands,
|
|
|
|
- determine_ext,
|
|
|
|
)
|
|
)
|
|
|
|
|
|
|
|
|
|
@@ -136,7 +135,7 @@ class NPOIE(InfoExtractor):
|
|
stream_url = stream.get('url')
|
|
stream_url = stream.get('url')
|
|
if not stream_url:
|
|
if not stream_url:
|
|
continue
|
|
continue
|
|
- if not '.asf' in stream_url:
|
|
|
|
|
|
+ if '.asf' not in stream_url:
|
|
formats.append({
|
|
formats.append({
|
|
'url': stream_url,
|
|
'url': stream_url,
|
|
'quality': stream.get('kwaliteit'),
|
|
'quality': stream.get('kwaliteit'),
|