1 from .hbo
import HBOBaseIE
4 class CinemaxIE(HBOBaseIE
):
6 _VALID_URL
= r
'https?://(?:www\.)?cinemax\.com/(?P<path>[^/]+/video/[0-9a-z-]+-(?P<id>\d+))'
8 'url': 'https://www.cinemax.com/warrior/video/s1-ep-1-recap-20126903',
9 'md5': '82e0734bba8aa7ef526c9dd00cf35a05',
13 'title': 'S1 Ep 1: Recap',
15 'expected_warnings': ['Unknown MIME type application/mp4 in DASH manifest'],
17 'url': 'https://www.cinemax.com/warrior/video/s1-ep-1-recap-20126903.embed',
18 'only_matching': True,
21 def _real_extract(self
, url
):
22 path
, video_id
= self
._match
_valid
_url
(url
).groups()
23 info
= self
._extract
_info
(f
'https://www.cinemax.com/{path}.xml', video_id
)