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:
parent
98f1e4170b
commit
f6e09250cd
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ private module Parsers
|
||||||
item_contents["badges"]?.try &.as_a.each do |badge|
|
item_contents["badges"]?.try &.as_a.each do |badge|
|
||||||
b = badge["metadataBadgeRenderer"]
|
b = badge["metadataBadgeRenderer"]
|
||||||
case b["label"].as_s
|
case b["label"].as_s
|
||||||
when "LIVE NOW"
|
when "LIVE"
|
||||||
badges |= VideoBadges::LiveNow
|
badges |= VideoBadges::LiveNow
|
||||||
when "New"
|
when "New"
|
||||||
badges |= VideoBadges::New
|
badges |= VideoBadges::New
|
||||||
|
|
Loading…
Reference in a new issue