From: Philipp Hagemeister Date: Fri, 22 Nov 2013 16:17:55 +0000 (+0100) Subject: [toutv] Fix a typo X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=ab009f59ef4a4e2a4842d37212b2e57466d9f22e;p=youtube-dl [toutv] Fix a typo --- 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')