mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-29 01:51:06 +00:00
[cinemassacre] Fix extraction (Closes #4083)
This commit is contained in:
parent
08965906a8
commit
d9116714f2
1 changed files with 2 additions and 5 deletions
|
@ -59,12 +59,9 @@ def _real_extract(self, url):
|
||||||
|
|
||||||
vidurl = self._search_regex(
|
vidurl = self._search_regex(
|
||||||
r'\'vidurl\'\s*:\s*"([^\']+)"', playerdata, 'vidurl').replace('\\/', '/')
|
r'\'vidurl\'\s*:\s*"([^\']+)"', playerdata, 'vidurl').replace('\\/', '/')
|
||||||
vidid = self._search_regex(
|
|
||||||
r'\'vidid\'\s*:\s*"([^\']+)"', playerdata, 'vidid')
|
|
||||||
videoserver = self._html_search_regex(
|
|
||||||
r"'videoserver'\s*:\s*'([^']+)'", playerdata, 'videoserver')
|
|
||||||
|
|
||||||
videolist_url = 'http://%s/vod/smil:%s.smil/jwplayer.smil' % (videoserver, vidid)
|
videolist_url = self._search_regex(
|
||||||
|
r"file\s*:\s*'(http.+?/jwplayer\.smil)'", playerdata, 'jwplayer.smil')
|
||||||
videolist = self._download_xml(videolist_url, video_id, 'Downloading videolist XML')
|
videolist = self._download_xml(videolist_url, video_id, 'Downloading videolist XML')
|
||||||
|
|
||||||
formats = []
|
formats = []
|
||||||
|
|
Loading…
Reference in a new issue