フォーク元 suwako/invidious-mod
コミット
b2c0f7efc3
|
@ -1012,7 +1012,7 @@ def parse_video_info(video_id : String, player_response : Hash(String, JSON::Any
|
||||||
|
|
||||||
if toplevel_buttons
|
if toplevel_buttons
|
||||||
likes_button = toplevel_buttons.as_a
|
likes_button = toplevel_buttons.as_a
|
||||||
.find(&.dig("toggleButtonRenderer", "defaultIcon", "iconType").as_s.== "LIKE")
|
.find(&.dig?("toggleButtonRenderer", "defaultIcon", "iconType").=== "LIKE")
|
||||||
.try &.["toggleButtonRenderer"]
|
.try &.["toggleButtonRenderer"]
|
||||||
|
|
||||||
if likes_button
|
if likes_button
|
||||||
|
|
読み込み中…
新しいイシューから参照