[toutv] Fix a typo

This commit is contained in:
Philipp Hagemeister 2013-11-22 17:17:55 +01:00
parent 0980426559
commit ab009f59ef
2 changed files with 1 additions and 2 deletions

View file

@ -113,7 +113,7 @@ def _extract_info_dict(self, info, full_title=None, quiet=False):
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

View file

@ -39,7 +39,6 @@ def _real_extract(self, url):
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')