Update yt_dlp/extractor/murrtube.py

Co-authored-by: pukkandan <pukkandan.ytdlp@gmail.com>
This commit is contained in:
DrakoCpp 2024-05-12 19:19:04 +02:00 committed by GitHub
parent 7b15ee0652
commit 74f24a0e39
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ class MurrtubeIE(InfoExtractor):
data = self._hidden_inputs(video_page)
self._download_webpage(
'https://murrtube.net/accept_age_check', None, 'Set age cookie', data=urlencode_postdata(data))
video_page = self._download_webpage(url, None)
video_page = self._download_webpage(url, video_id)
video_attrs = extract_attributes(self._search_regex(r'(<video[^>]+>)', video_page, 'video'))
playlist = video_attrs['data-url'].split('?')[0]
matches = re.compile(r'https://storage.murrtube.net/murrtube-production/.+/(?P<id>.+)/index.m3u8').match(playlist).groupdict()