开发者

Not work. wget and block

I want to write a script which downloads all the podcasts from an rss-feed. This is code does not work:

  def wget
    @mp3_links.each do |m|
      system("wget", "#{m}")
    end
  开发者_运维知识库end

I understand that to be linked to the delay, but how?


Google translate?

Anyway, try

system("wget ", "#{m}")
#           ^ extra space here
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜