Browse Source

Update profile grabbing to use new HTML changes on Pixiv

master
Ryan Hammett 6 years ago
parent
commit
8b59c58ca2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      slack-pixiv/commands/illust.rb

+ 1
- 1
slack-pixiv/commands/illust.rb View File

@ -24,7 +24,7 @@ module SlackMathbot
puts ios_url puts ios_url
# Scrape profile link # 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 puts profile
# Create iOS Members URL # Create iOS Members URL

Loading…
Cancel
Save