mirror of
https://github.com/StrawberryMaster/wayback-machine-downloader.git
synced 2025-12-17 17:56:44 +00:00
Alters encoding of file_url to fix encoding incompatibilities
This commit is contained in:
parent
0a324016b8
commit
132e3fa5f8
@ -201,7 +201,7 @@ class WaybackMachineDownloader
|
||||
end
|
||||
|
||||
def download_file file_remote_info
|
||||
file_url = file_remote_info[:file_url]
|
||||
file_url = file_remote_info[:file_url].encode(''.encoding)
|
||||
file_id = file_remote_info[:file_id]
|
||||
file_timestamp = file_remote_info[:timestamp]
|
||||
file_path_elements = file_id.split('/')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user