Use "LIVE" instead of "LIVE NOW" when parsing the live_now video badge

Co-authored-by: Samantaz Fox <coding@samantaz.fr>
This commit is contained in:
ChunkyProgrammer 2024-10-07 11:30:33 -04:00 committed by GitHub
parent 98f1e4170b
commit f6e09250cd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -113,7 +113,7 @@ private module Parsers
item_contents["badges"]?.try &.as_a.each do |badge|
b = badge["metadataBadgeRenderer"]
case b["label"].as_s
when "LIVE NOW"
when "LIVE"
badges |= VideoBadges::LiveNow
when "New"
badges |= VideoBadges::New