projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b84777
)
[nosvideo] Remove determine_ext usage (#3655)
author
Philipp Hagemeister
<phihag@phihag.de>
Mon, 1 Sep 2014 22:16:36 +0000
(
00:16
+0200)
committer
Philipp Hagemeister
<phihag@phihag.de>
Mon, 1 Sep 2014 22:17:04 +0000
(
00:17
+0200)
youtube_dl/extractor/nosvideo.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/nosvideo.py
b/youtube_dl/extractor/nosvideo.py
index dbb03613bf397a84db911b14ec19767141a29a65..095965add8d6126df80d1fa724f446fb735c9d9b 100644
(file)
--- a/
youtube_dl/extractor/nosvideo.py
+++ b/
youtube_dl/extractor/nosvideo.py
@@
-7,7
+7,6
@@
from .common import InfoExtractor
from ..utils import (
compat_urllib_parse,
compat_urllib_request,
- determine_ext,
xpath_with_ns,
)
@@
-52,12
+51,10
@@
class NosVideoIE(InfoExtractor):
title = _find(track, './xspf:title')
url = _find(track, './xspf:file')
thumbnail = _find(track, './xspf:image')
- ext = determine_ext(title)
formats = [{
'format_id': 'sd',
'url': url,
- 'ext': ext,
}]
return {