diff --git a/plugins/scrape.rb b/plugins/scrape.rb index fb6992e..5191bf5 100644 --- a/plugins/scrape.rb +++ b/plugins/scrape.rb @@ -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,