From 1b6fb4e100a2aed8c9c391e100fbbe60ac74d352 Mon Sep 17 00:00:00 2001 From: James Taylor Date: Sun, 8 Sep 2019 16:48:07 -0700 Subject: Allow 'New' badge in video items --- youtube/yt_data_extract.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'youtube/yt_data_extract.py') diff --git a/youtube/yt_data_extract.py b/youtube/yt_data_extract.py index db28e62..5419084 100644 --- a/youtube/yt_data_extract.py +++ b/youtube/yt_data_extract.py @@ -94,8 +94,7 @@ def get_badges(node): badges = [] for badge_node in node: badge = badge_node['metadataBadgeRenderer']['label'] - if badge.lower() != 'new': - badges.append(badge) + badges.append(badge) return badges def get_thumbnail(node): -- cgit v1.2.3