whoopsie
parent
ef6c54e0c1
commit
52c1a888cf
|
@ -2,6 +2,6 @@ require 'net/http'
|
|||
require 'nokogiri'
|
||||
|
||||
Client.register_command("sjp") { |args|
|
||||
doc = Nokogiri::HTML(Net::HTTP.get(URI(Config.lookup("commands::sjp::url") + args:0)))
|
||||
doc = Nokogiri::HTML(Net::HTTP.get(URI(Config.lookup("commands::sjp::url") + args[0])))
|
||||
doc.xpath('//ul[@id="listahasel"]/li/div/div').inner_text
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue