projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbf1092
)
[srmediathek] Choose variable name more wisely
author
Philipp Hagemeister
<phihag@phihag.de>
Tue, 28 Oct 2014 09:44:47 +0000
(10:44 +0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Tue, 28 Oct 2014 09:44:47 +0000
(10:44 +0100)
youtube_dl/extractor/srmediathek.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/srmediathek.py
b/youtube_dl/extractor/srmediathek.py
index d92d14d655e1a9ee07a5370f0d4ba15b6b65e648..666a7dcc8a1e7dd425fd1d201ef1b5c1802c6a16 100644
(file)
--- a/
youtube_dl/extractor/srmediathek.py
+++ b/
youtube_dl/extractor/srmediathek.py
@@
-26,9
+26,9
@@
class SRMediathekIE(InfoExtractor):
video_id = self._match_id(url)
webpage = self._download_webpage(url, video_id)
- urls = json.loads(js_to_json(self._search_regex(
+
m
urls = json.loads(js_to_json(self._search_regex(
r'var mediaURLs\s*=\s*(.*?);\n', webpage, 'video URLs')))
- formats = [{'url':
url} for url in
urls]
+ formats = [{'url':
murl} for murl in m
urls]
self._sort_formats(formats)
title = json.loads(js_to_json(self._search_regex(