提案 #1395 » 1395-pixiv.patch
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 |