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