From 8b59c58ca2e86dc8eda5b0b9e3964799f7d2c49b Mon Sep 17 00:00:00 2001 From: Ryan Hammett Date: Sat, 6 Jan 2018 20:49:26 -0500 Subject: [PATCH] Update profile grabbing to use new HTML changes on Pixiv --- slack-pixiv/commands/illust.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slack-pixiv/commands/illust.rb b/slack-pixiv/commands/illust.rb index a6e2c03..fb4bc44 100644 --- a/slack-pixiv/commands/illust.rb +++ b/slack-pixiv/commands/illust.rb @@ -24,7 +24,7 @@ module SlackMathbot puts ios_url # Scrape profile link - profile = agent.get(pixiv_url).at("div.userdata > h2.name > a").attributes['href'].to_s + profile = agent.get(pixiv_url).at("div.userdata-row > h2.name > a").attributes['href'].to_s puts profile # Create iOS Members URL