aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-10-28 10:44:47 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2014-10-28 10:44:47 +0100
commit9fdece5d340f24ab3c16770f71fd26943f4996c2 (patch)
treeabdc0099442201457194a6234b502042904530e1 /youtube_dl/extractor
parentbbf1092ad0e444d766f30c960e11c2e21a77f605 (diff)
[srmediathek] Choose variable name more wisely
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/srmediathek.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/srmediathek.py b/youtube_dl/extractor/srmediathek.py
index d92d14d65..666a7dcc8 100644
--- 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(
+ murls = 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 murls]
self._sort_formats(formats)
title = json.loads(js_to_json(self._search_regex(