プロジェクト

全般

プロフィール

提案 #1313 » photo_support_reddit.patch

cob odo, 2019-01-30 20:02

差分を表示:

core/plugin/photo_support/photo_support.rb
end
open(image_url)
end
#reddit
defimageopener('reddit', %r|^https?://www\.reddit\.com/r/(?:[^/]*)/comments/(?:[^/]*)/(?:[^/]*)|) do |display_url|
img = Plugin::PhotoSupport.インスタ映え(display_url)
open(img) if img
end
end
    (1-1/1)