Unfortunately, there's no apparent way to retrieve this information anymore.
Given channels without a banner don't display a default banner background anymore,
it may indicate a transition to removing banners completely in the future…
youtube-dl doesn't have access to banners neither.
Banner url is only part of inline CSS rule in the youtube page.
This fixes the crash and replace all banners with a default banner.
Youtube has deprecated the brandingSettings.image dict in channel info:
Unfortunately, there's no apparent way to retrieve this information anymore. Given channels without a banner don't display a default banner background anymore, it may indicate a transition to removing banners completely in the future…
youtube-dl doesn't have access to banners neither. Banner url is only part of inline CSS rule in the youtube page.
This fixes the crash and replace all banners with a default banner.