diff --git a/app/services/nicovideo_ranking_service.rb b/app/services/nicovideo_ranking_service.rb index 90b565d2daeaef..bb6c896af8d03a 100644 --- a/app/services/nicovideo_ranking_service.rb +++ b/app/services/nicovideo_ranking_service.rb @@ -36,7 +36,7 @@ def process(hash) desc.css('.nico-thumbnail img').tap do |link| ret[:title] = link.attr('alt').value - ret[:thumbnail] = "https://tn.smilevideo.jp/smile?i=#{id}" + ret[:thumbnail] = link.attr('src').value.gsub(/\Ahttp:/,'https:') end desc.css('.nico-info-date').tap do |date|