Plugin cleanup and tweaks

This commit is contained in:
2023-02-20 19:18:45 -06:00
parent 372e4ff3dc
commit 3ad9e1c7bb
1138 changed files with 48878 additions and 40445 deletions

View File

@@ -1,6 +1,3 @@
# coding: utf-8
from __future__ import unicode_literals
from .common import InfoExtractor
from ..compat import compat_str
from ..utils import (
@@ -17,7 +14,7 @@ class VootIE(InfoExtractor):
voot:|
https?://(?:www\.)?voot\.com/?
(?:
movies/[^/]+/|
movies?/[^/]+/|
(?:shows|kids)/(?:[^/]+/){4}
)
)
@@ -50,6 +47,9 @@ class VootIE(InfoExtractor):
}, {
'url': 'https://www.voot.com/movies/pandavas-5/424627',
'only_matching': True,
}, {
'url': 'https://www.voot.com/movie/fight-club/621842',
'only_matching': True,
}]
def _real_extract(self, url):
@@ -73,7 +73,6 @@ class VootIE(InfoExtractor):
formats = self._extract_m3u8_formats(
'https://cdnapisec.kaltura.com/p/1982551/playManifest/pt/https/f/applehttp/t/web/e/' + entry_id,
video_id, 'mp4', m3u8_id='hls')
self._sort_formats(formats)
description, series, season_number, episode, episode_number = [None] * 5