projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
263255e
)
[npo] Remove unused import
author
Philipp Hagemeister
<phihag@phihag.de>
Sun, 11 Jan 2015 22:43:09 +0000
(23:43 +0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Sun, 11 Jan 2015 22:43:09 +0000
(23:43 +0100)
youtube_dl/extractor/npo.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/npo.py
b/youtube_dl/extractor/npo.py
index fcd4fea94a570cdb607a8027da7628d911ed828b..6d20f755a89a244e41feb1da5e2416feeb351d7e 100644
(file)
--- a/
youtube_dl/extractor/npo.py
+++ b/
youtube_dl/extractor/npo.py
@@
-4,13
+4,12
@@
import re
from .common import InfoExtractor
from ..utils import (
-
unified_strdate
,
+
fix_xml_ampersands
,
parse_duration,
qualities,
strip_jsonp,
+ unified_strdate,
url_basename,
- fix_xml_ampersands,
- determine_ext,
)
@@
-136,7
+135,7
@@
class NPOIE(InfoExtractor):
stream_url = stream.get('url')
if not stream_url:
continue
- if
not '.asf'
in stream_url:
+ if
'.asf' not
in stream_url:
formats.append({
'url': stream_url,
'quality': stream.get('kwaliteit'),