mirror of
https://github.com/StrawberryMaster/wayback-machine-downloader.git
synced 2025-12-22 20:26:46 +00:00
Remove old API requests
This commit is contained in:
parent
e6a5f5f999
commit
7a4a612276
@ -55,8 +55,6 @@ class WaybackMachineDownloader
|
|||||||
end
|
end
|
||||||
|
|
||||||
def get_file_list_curated
|
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"
|
parameters_for_wayback_machine_api = "&fl=timestamp,original&fastLatest=true&filter=statuscode:200&collapse=original"
|
||||||
if @from_timestamp and @from_timestamp != 0
|
if @from_timestamp and @from_timestamp != 0
|
||||||
parameters_for_wayback_machine_api += "&from=" + @from_timestamp.to_s
|
parameters_for_wayback_machine_api += "&from=" + @from_timestamp.to_s
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user