lib/myanimelist/manga.rb in myanimelist-0.0.5 vs lib/myanimelist/manga.rb in myanimelist-0.0.6
- 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=#{CGI::escape name}",
+ url: "https://myanimelist.net/api/manga/search.xml?q=#{CGI::escape name}",
user: @myanimelist_username,
password: @myanimelist_password,
content_type: :xml ).execute
parse_xml response