Typo: missing '?' when looking for key in dislikes_button

Co-authored-by: Matthew McGarvey <matthewmcgarvey14@gmail.com>
このコミットが含まれているのは:
Samantaz Fox 2021-11-28 23:37:27 +01:00 committed by GitHub
コミット 91f8395222
この署名に対応する既知のキーがデータベースに存在しません
GPGキーID: 4AEE18F83AFDEB23
1個のファイルの変更1行の追加1行の削除

ファイルの表示

@ -914,7 +914,7 @@ def extract_video_info(video_id : String, proxy_region : String? = nil, context_
.try &.["toggleButtonRenderer"]
if dislikes_button
dislikes_txt = (dislikes_button["defaultText"] || dislikes_button["toggledText"]?)
dislikes_txt = (dislikes_button["defaultText"]? || dislikes_button["toggledText"]?)
.try &.dig?("accessibility", "accessibilityData", "label")
dislikes = dislikes_txt.as_s.gsub(/\D/, "").to_i64? if dislikes_txt