提案 #1395 » 1395-pixiv_add.patch
core/plugin/photo_support/photo_support.rb | ||
---|---|---|
291 | 291 |
img = Plugin::PhotoSupport.インスタ映え(display_url) |
292 | 292 |
open(img) if img |
293 | 293 |
end |
294 |
# pixiv new |
|
295 |
defimageopener('pixiv', %r<https?://(?:www\.)?pixiv\.net/artworks/\d+$>) do |display_url| |
|
296 |
img = Plugin::PhotoSupport.インスタ映え(display_url) |
|
297 |
open(img) if img |
|
298 |
end |
|
294 | 299 |
end |