This commit is contained in:
Robert Gerus 2014-03-13 15:36:23 +01:00
parent 6851590e6b
commit 7a41abdcfa

View file

@ -42,7 +42,7 @@ Client.register_trigger("PRIVMSG") do |msg|
url = Digest::MD5.hexdigest(word)
end
title = Nokogiri::HTML(open(word).read(10240)).title().split(/\n/)[0][
title = Nokogiri::HTML(open(word).read(10240)).title().split(/\n/)[0]
Scrape::Link.create(
:url => url,