diff options
Diffstat (limited to 'data/rbot/plugins')
-rw-r--r-- | data/rbot/plugins/lastfm.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/data/rbot/plugins/lastfm.rb b/data/rbot/plugins/lastfm.rb index 77584941..027551cb 100644 --- a/data/rbot/plugins/lastfm.rb +++ b/data/rbot/plugins/lastfm.rb @@ -17,6 +17,7 @@ module Spotify def self.get(service, method, query, page=1) + query.tr!('-','') url = URI.escape("http://ws.spotify.com/#{service}/1/#{method}?q=#{query}&page=#{page}") xml = Irc::Utils.bot.httputil.get_response(url).body return REXML::Document.new(xml).root |