1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-02-03 02:29:04 +08:00

[servus] Simplify

This commit is contained in:
Sergey M 2017-10-19 22:16:46 +07:00 committed by GitHub
parent 76c3b94860
commit b0ded8dec3

View File

@ -29,9 +29,9 @@ class ServusIE(InfoExtractor):
description = self._og_search_description(webpage)
thumbnail = self._og_search_thumbnail(webpage)
m3u8_url = 'https://stv.rbmbtnx.net/api/v1/manifests/%s.m3u8' % video_id
formats = self._extract_m3u8_formats(
m3u8_url, video_id, 'mp4', entry_protocol='m3u8_native', m3u8_id='hls')
'https://stv.rbmbtnx.net/api/v1/manifests/%s.m3u8' % video_id,
video_id, 'mp4', entry_protocol='m3u8_native', m3u8_id='hls')
self._sort_formats(formats)
return {