diff options
| author | James Taylor <user234683@users.noreply.github.com> | 2019-09-08 16:48:07 -0700 |
|---|---|---|
| committer | James Taylor <user234683@users.noreply.github.com> | 2019-09-08 16:48:07 -0700 |
| commit | 1b6fb4e100a2aed8c9c391e100fbbe60ac74d352 (patch) | |
| tree | 404c90ab1a7c7c90dec2ed562e9594093c9bb6ad | |
| parent | 0ca12270a85d81b4fe6e75794b10b2a6873b46df (diff) | |
| download | yt-local-1b6fb4e100a2aed8c9c391e100fbbe60ac74d352.tar.lz yt-local-1b6fb4e100a2aed8c9c391e100fbbe60ac74d352.tar.xz yt-local-1b6fb4e100a2aed8c9c391e100fbbe60ac74d352.zip | |
Allow 'New' badge in video items
| -rw-r--r-- | youtube/yt_data_extract.py | 3 |
1 files changed, 1 insertions, 2 deletions
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): |
