projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8bfb672
)
Use the 'base_url' for building the resulting 'url' as well.
author
Elias Probst
<mail@eliasprobst.eu>
Fri, 20 Jun 2014 23:10:10 +0000
(
01:10
+0200)
committer
Elias Probst
<mail@eliasprobst.eu>
Fri, 20 Jun 2014 23:10:10 +0000
(
01:10
+0200)
youtube_dl/extractor/spiegel.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/spiegel.py
b/youtube_dl/extractor/spiegel.py
index 87f1ee69462600f57c0bde46784307cb6e3e0963..bf5a5e2a42e01ac16443d363c2689f818122a1c0 100644
(file)
--- a/
youtube_dl/extractor/spiegel.py
+++ b/
youtube_dl/extractor/spiegel.py
@@
-47,7
+47,7
@@
class SpiegelIE(InfoExtractor):
formats = [
{
'format_id': n.tag.rpartition('type')[2],
- 'url':
'http://video2.spiegel.de/flash/'
+ n.find('./filename').text,
+ 'url':
base_url
+ n.find('./filename').text,
'width': int(n.find('./width').text),
'height': int(n.find('./height').text),
'abr': int(n.find('./audiobitrate').text),