Skip to content

WMD is throwing errors instead of downloading the way it used to #316

@greg-raven

Description

@greg-raven

I'm using macOS with an up-to-date version of Ruby installed via Homebrew.

I'm asking WMD to grab files from an old website:

wayback_machine_downloader http://www.racquetresearch.com -l -t 20021122105251

It seems to start fine, with the message:

Getting snapshot pages....

but after a few seconds throws nothing but errors:

/opt/homebrew/Cellar/ruby/3.4.2/lib/ruby/3.4.0/open-uri.rb:393:in 'OpenURI.open_http': 400 BAD REQUEST (OpenURI::HTTPError)
from /opt/homebrew/Cellar/ruby/3.4.2/lib/ruby/3.4.0/open-uri.rb:825:in 'URI::HTTP#buffer_open'
from /opt/homebrew/Cellar/ruby/3.4.2/lib/ruby/3.4.0/open-uri.rb:233:in 'block in OpenURI.open_loop'
from /opt/homebrew/Cellar/ruby/3.4.2/lib/ruby/3.4.0/open-uri.rb:231:in 'Kernel#catch'
from /opt/homebrew/Cellar/ruby/3.4.2/lib/ruby/3.4.0/open-uri.rb:231:in 'OpenURI.open_loop'
from /opt/homebrew/Cellar/ruby/3.4.2/lib/ruby/3.4.0/open-uri.rb:163:in 'OpenURI.open_uri'
from /opt/homebrew/Cellar/ruby/3.4.2/lib/ruby/3.4.0/open-uri.rb:805:in 'OpenURI::OpenRead#open'
from /opt/homebrew/lib/ruby/gems/3.4.0/gems/wayback_machine_downloader-2.3.1/lib/wayback_machine_downloader/archive_api.rb:13:in 'ArchiveAPI#get_raw_list_from_api'
from /opt/homebrew/lib/ruby/gems/3.4.0/gems/wayback_machine_downloader-2.3.1/lib/wayback_machine_downloader.rb:92:in 'block in WaybackMachineDownloader#get_all_snapshots_to_consider'
from internal:numeric:257:in 'Integer#times'
from /opt/homebrew/lib/ruby/gems/3.4.0/gems/wayback_machine_downloader-2.3.1/lib/wayback_machine_downloader.rb:91:in 'WaybackMachineDownloader#get_all_snapshots_to_consider'
from /opt/homebrew/lib/ruby/gems/3.4.0/gems/wayback_machine_downloader-2.3.1/lib/wayback_machine_downloader.rb:105:in 'WaybackMachineDownloader#get_file_list_curated'
from /opt/homebrew/lib/ruby/gems/3.4.0/gems/wayback_machine_downloader-2.3.1/lib/wayback_machine_downloader.rb:164:in 'WaybackMachineDownloader#get_file_list_by_timestamp'
from /opt/homebrew/lib/ruby/gems/3.4.0/gems/wayback_machine_downloader-2.3.1/lib/wayback_machine_downloader.rb:177:in 'WaybackMachineDownloader#list_files'
from /opt/homebrew/lib/ruby/gems/3.4.0/gems/wayback_machine_downloader-2.3.1/bin/wayback_machine_downloader:70:in '<top (required)>'
from /opt/homebrew/lib/ruby/gems/3.4.0/bin/wayback_machine_downloader:25:in 'Kernel#load'
from /opt/homebrew/lib/ruby/gems/3.4.0/bin/wayback_machine_downloader:25:in '

'

What am I doing incorrectly?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions