bug fix with pixiv api

This commit is contained in:
r888888888
2015-05-11 15:53:45 -07:00
parent f1917e1bd1
commit ac6d1fa498
2 changed files with 3 additions and 2 deletions

View File

@@ -79,6 +79,7 @@ module Downloads
url = URI.parse(src)
begin
puts url.request_uri
Net::HTTP.start(url.host, url.port, :use_ssl => url.is_a?(URI::HTTPS)) do |http|
http.read_timeout = 10
http.request_get(url.request_uri, headers) do |res|