mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-04-08 01:43:47 +00:00
move festival_info down for readability
This commit is contained in:
parent
9b1bf7400d
commit
b7c7a1630c
@ -680,7 +680,6 @@ class BiliBiliIE(BilibiliBaseIE):
|
||||
old_video_id = format_field(aid, None, f'%s_part{part_id or 1}')
|
||||
cid = traverse_obj(video_data, ('pages', part_id - 1, 'cid')) if part_id else video_data.get('cid')
|
||||
|
||||
festival_info = {}
|
||||
play_info = (
|
||||
traverse_obj(
|
||||
self._search_json(
|
||||
@ -702,6 +701,7 @@ class BiliBiliIE(BilibiliBaseIE):
|
||||
raise ExtractorError(
|
||||
f'This is a supporter-only video: {msg}. {self._login_hint()}', expected=True)
|
||||
|
||||
festival_info = {}
|
||||
if is_festival:
|
||||
festival_info = traverse_obj(initial_state, {
|
||||
'uploader': ('videoInfo', 'upName'),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user