This commit is contained in:
syeopite 2021-10-04 00:46:50 -07:00
parent 7b7bf480bd
commit 65279a08ba
No known key found for this signature in database
GPG Key ID: 6FA616E5A5294A82

View File

@ -240,7 +240,7 @@ private module Parsers
author_info = item_contents.dig?("shortBylineText", "runs", 0)
author = author_info.try &.["text"].as_s || author_fallback.name
author_id = author_info.try {|x| HelperExtractors.get_browse_id(x)} || author_fallback.id
author_id = author_info.try { |x| HelperExtractors.get_browse_id(x) } || author_fallback.id
videos = item_contents["videos"]?.try &.as_a.map do |v|
v = v["childVideoRenderer"]