mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-01-07 17:16:08 +00:00
[toutv] Fix a typo
This commit is contained in:
parent
0980426559
commit
ab009f59ef
|
@ -113,7 +113,7 @@ class SoundcloudIE(InfoExtractor):
|
||||||
else:
|
else:
|
||||||
# We fallback to the stream_url in the original info, this
|
# We fallback to the stream_url in the original info, this
|
||||||
# cannot be always used, sometimes it can give an HTTP 404 error
|
# 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
|
return result
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,6 @@ class TouTvIE(InfoExtractor):
|
||||||
mediaId = self._search_regex(
|
mediaId = self._search_regex(
|
||||||
r'"idMedia":\s*"([^"]+)"', webpage, u'media ID')
|
r'"idMedia":\s*"([^"]+)"', webpage, u'media ID')
|
||||||
|
|
||||||
# TODO test from de
|
|
||||||
streams_url = u'http://release.theplatform.com/content.select?pid=' + mediaId
|
streams_url = u'http://release.theplatform.com/content.select?pid=' + mediaId
|
||||||
streams_webpage = self._download_webpage(
|
streams_webpage = self._download_webpage(
|
||||||
streams_url, video_id, note=u'Downloading stream list')
|
streams_url, video_id, note=u'Downloading stream list')
|
||||||
|
|
Loading…
Reference in a new issue