This website works better with JavaScript.
Home
Explore
Help
Sign In
larke12
/
slack-pixiv-bot
Watch
1
Star
0
Fork
0
Code
Issues
4
Pull Requests
Projects
Releases
Wiki
Activity
Browse Source
Update profile grabbing to use new HTML changes on Pixiv
master
Ryan Hammett
7 years ago
parent
235077b45a
commit
8b59c58ca2
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
# 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
Write
Preview
Loading…
Cancel
Save