Project

General

Profile

提案 #1395 » 1395-pixiv.patch

Akira Ouchi, 2019-09-24 20:59

View differences:

core/plugin/photo_support/photo_support.rb
287 287
  end
288 288

  
289 289
  # pixiv
290
  defimageopener('pixiv', %r<https?://(?:www\.)?pixiv\.net/member_illust\.php\?(?:.*)&?illust_id=\d+(?:&.*)?$>) do |display_url|
290
  defimageopener('pixiv', %r<https?://(?:www\.)?pixiv\.net/artworks/\d+$>) do |display_url|
291 291
    img = Plugin::PhotoSupport.インスタ映え(display_url)
292 292
    open(img) if img
293 293
  end
(1-1/2)