[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 @@ def _real_extract(self, url):
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(),