From 84eb6cc8029465220a41dbc33910082b84abfd02 Mon Sep 17 00:00:00 2001 From: takayamaki Date: Tue, 25 Dec 2018 16:16:33 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=8B=E3=82=B3=E5=8B=95=E5=81=B4=E4=BB=95?= =?UTF-8?q?=E6=A7=98=E5=A4=89=E6=9B=B4=E3=81=AB=E3=82=88=E3=82=8A=E6=AF=8E?= =?UTF-8?q?=E6=99=82=E3=83=A9=E3=83=B3=E3=82=AD=E3=83=B3=E3=82=B0=E3=82=AB?= =?UTF-8?q?=E3=83=A9=E3=83=A0=E3=81=AE=E3=82=B5=E3=83=A0=E3=83=8D=E3=82=A4?= =?UTF-8?q?=E3=83=AB=E3=81=8C=E8=A1=A8=E7=A4=BA=E3=81=A7=E3=81=8D=E3=81=AA?= =?UTF-8?q?=E3=81=8F=E3=81=AA=E3=81=A3=E3=81=A6=E3=81=84=E3=81=9F=E5=95=8F?= =?UTF-8?q?=E9=A1=8C=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/services/nicovideo_ranking_service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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|