We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba4ca60 commit 30475c5Copy full SHA for 30475c5
lib/wayback_machine_downloader/archive_api.rb
@@ -10,7 +10,7 @@ def get_raw_list_from_api url, page_index
10
request_url.query = URI.encode_www_form(params)
11
12
begin
13
- json = JSON.parse(URI.open(request_url).read)
+ json = JSON.parse(URI(request_url).open.read)
14
if (json[0] <=> ["timestamp","original"]) == 0
15
json.shift
16
end
0 commit comments