lib/myanimelist/manga.rb in myanimelist-0.0.2 vs lib/myanimelist/manga.rb in myanimelist-0.0.3

- old
+ new

@@ -11,10 +11,10 @@ end def get_search(name) response = RestClient::Request.new( method: :get, - url: "http://myanimelist.net/api/manga/search.xml?q=#{name}", + url: "http://myanimelist.net/api/manga/search.xml?q=#{CGI::escape name}", user: @myanimelist_username, password: @myanimelist_password, content_type: :xml ).execute parse_xml response