mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-20 13:57:25 +01:00
fix
This commit is contained in:
parent
ee838b418c
commit
d92f6fbaea
@ -139,8 +139,6 @@ class RPlayVideoIE(RPlayBaseIE):
|
|||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
video_id = self._match_id(url)
|
video_id = self._match_id(url)
|
||||||
|
|
||||||
self.get_butter_token()
|
|
||||||
|
|
||||||
playlist_id = traverse_obj(parse_qs(url), ('playlist', ..., any))
|
playlist_id = traverse_obj(parse_qs(url), ('playlist', ..., any))
|
||||||
if playlist_id and self._yes_playlist(playlist_id, video_id):
|
if playlist_id and self._yes_playlist(playlist_id, video_id):
|
||||||
playlist_info = self._download_json(
|
playlist_info = self._download_json(
|
||||||
@ -170,7 +168,7 @@ def _real_extract(self, url):
|
|||||||
'release_timestamp': ('publishedAt', {parse_iso8601}),
|
'release_timestamp': ('publishedAt', {parse_iso8601}),
|
||||||
'timestamp': ('createdAt', {parse_iso8601}),
|
'timestamp': ('createdAt', {parse_iso8601}),
|
||||||
'duration': ('length', {float_or_none}),
|
'duration': ('length', {float_or_none}),
|
||||||
'uploader': ('nickname', {str}),
|
'uploader': ('creatorInfo', 'nickname', {str}),
|
||||||
'uploader_id': ('creatorOid', {str}),
|
'uploader_id': ('creatorOid', {str}),
|
||||||
'tags': ('hashtags', lambda _, v: v[0] != '_'),
|
'tags': ('hashtags', lambda _, v: v[0] != '_'),
|
||||||
'age_limit': (('hideContent', 'isAdultContent'), {lambda x: 18 if x else None}, any),
|
'age_limit': (('hideContent', 'isAdultContent'), {lambda x: 18 if x else None}, any),
|
||||||
|
Loading…
Reference in New Issue
Block a user