mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-08-22 22:34:01 -07:00
made declared view_count & last_updated_text as None in-case they are missing in result.
This commit is contained in:
parent
8385c8d047
commit
8d657f3efc
1 changed files with 2 additions and 0 deletions
|
@ -2773,6 +2773,8 @@ class YoutubeTabIE(YoutubeBaseInfoExtractor):
|
|||
data, lambda x: x['metadata']['channelMetadataRenderer'], dict)
|
||||
playlist_id = item_id
|
||||
title = description = None
|
||||
view_count = None
|
||||
last_updated = None
|
||||
if renderer:
|
||||
channel_title = renderer.get('title') or item_id
|
||||
tab_title = selected_tab.get('title')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue