aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2013-11-22 17:17:55 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2013-11-22 17:18:03 +0100
commitab009f59ef4a4e2a4842d37212b2e57466d9f22e (patch)
treef52e713acd6762e713e50405359bb4d942446452 /youtube_dl
parent0980426559741bb9a8b2ea39b581073cf2738f5a (diff)
[toutv] Fix a typo
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/soundcloud.py2
-rw-r--r--youtube_dl/extractor/toutv.py1
2 files changed, 1 insertions, 2 deletions
diff --git a/youtube_dl/extractor/soundcloud.py b/youtube_dl/extractor/soundcloud.py
index 5544325b5..67b2dff9c 100644
--- a/youtube_dl/extractor/soundcloud.py
+++ b/youtube_dl/extractor/soundcloud.py
@@ -113,7 +113,7 @@ class SoundcloudIE(InfoExtractor):
else:
# We fallback to the stream_url in the original info, this
# cannot be always used, sometimes it can give an HTTP 404 error
- resut['url'] = info['stream_url'] + '?client_id=' + self._CLIENT_ID,
+ result['url'] = info['stream_url'] + '?client_id=' + self._CLIENT_ID,
return result
diff --git a/youtube_dl/extractor/toutv.py b/youtube_dl/extractor/toutv.py
index 732083617..2f728d3dc 100644
--- a/youtube_dl/extractor/toutv.py
+++ b/youtube_dl/extractor/toutv.py
@@ -39,7 +39,6 @@ class TouTvIE(InfoExtractor):
mediaId = self._search_regex(
r'"idMedia":\s*"([^"]+)"', webpage, u'media ID')
- # TODO test from de
streams_url = u'http://release.theplatform.com/content.select?pid=' + mediaId
streams_webpage = self._download_webpage(
streams_url, video_id, note=u'Downloading stream list')