mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-16 01:25:06 +00:00
[toutv] Fix a typo
This commit is contained in:
parent
0980426559
commit
ab009f59ef
2 changed files with 1 additions and 2 deletions
|
@ -113,7 +113,7 @@ def _extract_info_dict(self, info, full_title=None, quiet=False):
|
||||||
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 @@ def _real_extract(self, url):
|
||||||
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