mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-09-10 00:58:17 +02:00
[toutv] Fix a typo
This commit is contained in:
parent
0980426559
commit
ab009f59ef
@ -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
|
||||
|
||||
|
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user