1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-11-12 13:39:25 +01:00

[tbs] update tokenizer url(fixes #15395)

This commit is contained in:
Remita Amine 2018-01-23 19:06:46 +01:00
parent cf2820710d
commit dc400ed6a2

View File

@ -58,7 +58,7 @@ class TBSIE(TurnerBaseIE):
continue continue
if stream_data.get('playlistProtection') == 'spe': if stream_data.get('playlistProtection') == 'spe':
m3u8_url = self._add_akamai_spe_token( m3u8_url = self._add_akamai_spe_token(
'http://www.%s.com/service/token_spe' % site, 'http://token.vgtf.net/token/token_spe',
m3u8_url, media_id, { m3u8_url, media_id, {
'url': url, 'url': url,
'site_name': site[:3].upper(), 'site_name': site[:3].upper(),