mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-06-30 23:39:05 +00:00
condense
This commit is contained in:
parent
6d40e51689
commit
40ca903196
@ -724,9 +724,7 @@ class BiliBiliIE(BilibiliBaseIE):
|
|||||||
|
|
||||||
if video_data.get('is_upower_exclusive'):
|
if video_data.get('is_upower_exclusive'):
|
||||||
high_level = traverse_obj(initial_state, ('elecFullInfo', 'show_info', 'high_level', {dict})) or {}
|
high_level = traverse_obj(initial_state, ('elecFullInfo', 'show_info', 'high_level', {dict})) or {}
|
||||||
msg = (
|
msg = f'{join_nonempty("title", "sub_title", from_dict=high_level, delim=",")}. {self._login_hint()}'
|
||||||
f'{join_nonempty("title", "sub_title", from_dict=high_level, delim=",")}. '
|
|
||||||
f'{self._login_hint()}')
|
|
||||||
if not formats:
|
if not formats:
|
||||||
raise ExtractorError(f'This is a supporter-only video: {msg}', expected=True)
|
raise ExtractorError(f'This is a supporter-only video: {msg}', expected=True)
|
||||||
if '试看' in traverse_obj(play_info, ('accept_description', ..., {str})):
|
if '试看' in traverse_obj(play_info, ('accept_description', ..., {str})):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user