提案 #4 » 0001-pixiv-OGP.patch
core/plugin/photo_support/photo_support.rb | ||
---|---|---|
252 | 252 |
end |
253 | 253 |
open(url) if url |
254 | 254 |
end |
255 | ||
256 |
# pixiv |
|
257 |
defimageopener('pixiv', %r<https?://(?:www\.)?pixiv\.net/member_illust\.php\?(?:.*)&?illust_id=\d+(?:&.*)?$>) do |display_url| |
|
258 |
img = Plugin::PhotoSupport.インスタ映え(display_url) |
|
259 |
open(img) if img |
|
260 |
end |
|
255 | 261 |
end |