Skip to content

Commit

Permalink
apply hartator#191
Browse files Browse the repository at this point in the history
  • Loading branch information
Nik-mmzd committed Sep 8, 2023
1 parent 1241386 commit d0e6a46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/wayback_machine_downloader.rb
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def get_file_list_all_timestamps
file_id_and_timestamp = [file_timestamp, file_id].join('/')
file_id_and_timestamp = CGI::unescape file_id_and_timestamp
file_id_and_timestamp = file_id_and_timestamp.tidy_bytes unless file_id_and_timestamp == ""
if file_id.nil?
if file_id_and_timestamp.nil?
puts "Malformed file url, ignoring: #{file_url}"
else
if match_exclude_filter(file_url)
Expand Down

0 comments on commit d0e6a46

Please sign in to comment.