Remove old API requests

This commit is contained in:
hartator 2016-07-30 14:08:57 -05:00
parent e6a5f5f999
commit 7a4a612276

View File

@ -55,8 +55,6 @@ class WaybackMachineDownloader
end
def get_file_list_curated
index_file_list_raw = open "http://web.archive.org/cdx/search/xd?url=#{@base_url}"
all_file_list_raw = open "http://web.archive.org/cdx/search/xd?url=#{@base_url}/*"
parameters_for_wayback_machine_api = "&fl=timestamp,original&fastLatest=true&filter=statuscode:200&collapse=original"
if @from_timestamp and @from_timestamp != 0
parameters_for_wayback_machine_api += "&from=" + @from_timestamp.to_s