Wget getting blocked, switch to curl for Skyward

This commit is contained in:
Nemo 2018-10-18 02:05:48 +05:30
parent 48a9613005
commit 1ae92eae11
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ links.each do |link|
url = BASE + link
puts "Download #{url}"
unless File.exist? "skyward/#{episode}.html"
`wget --no-clobber "#{url}" --output-document "skyward/#{episode}.html"`
`curl --silent "#{url}" --output "skyward/#{episode}.html"`
end
episode += 1
end