Browse Source

Changed URL split

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

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

@ -16,7 +16,7 @@ module SlackMathbot
puts ios_url puts ios_url
# Create iOS Member URL # Create iOS Member URL
ios_mem_url = "pixiv://member/" + pixiv_url.split('=')[0..-1]
ios_mem_url = "pixiv://member/" + pixiv_url.split('=')[-2]
puts ios_mem_url puts ios_mem_url
# Scrape page title # Scrape page title

Loading…
Cancel
Save