betere messages
This commit is contained in:
parent
5e553cdd9c
commit
934463244f
1 changed files with 2 additions and 2 deletions
|
|
@ -69,7 +69,7 @@ def getenclosure(podcast, enclosure)
|
||||||
end
|
end
|
||||||
@filelist[filename] = true
|
@filelist[filename] = true
|
||||||
if ! File.exists?("#{@podcasts[podcast]["savedir"]}/#{filename}")
|
if ! File.exists?("#{@podcasts[podcast]["savedir"]}/#{filename}")
|
||||||
puts "gotta get #{@podcasts[podcast]["savedir"]}/#{filename}"
|
puts " getting #{@podcasts[podcast]["savedir"]}/#{filename}"
|
||||||
response = fetch(cast)
|
response = fetch(cast)
|
||||||
File.open("#{@podcasts[podcast]["savedir"]}/#{filename}", "w"){|f|
|
File.open("#{@podcasts[podcast]["savedir"]}/#{filename}", "w"){|f|
|
||||||
f.print(response.body)
|
f.print(response.body)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue