diff --git a/getdistorted/getdistorted.conf b/getdistorted/getdistorted.conf index eeed777..104f969 100644 --- a/getdistorted/getdistorted.conf +++ b/getdistorted/getdistorted.conf @@ -56,24 +56,24 @@ "savedir" => '/Users/ward/Private/mp3/[books]/BSDTalk', "linkdir" => '/Users/ward/ipod_sync/[books]/BSDTalk', }, - "radio_rtfm" => { - "rss" => 'http://www.theregister.co.uk/odds/rtfm/headlines.rss', - "rename" => [ /^/, '%%DATE%%-' ], - "savedir" => '/Users/ward/Private/mp3/[books]/Radio RTFM', - "linkdir" => '/Users/ward/ipod_sync/[books]/Radio RTFM', - }, +# "radio_rtfm" => { +# "rss" => 'http://www.theregister.co.uk/odds/rtfm/headlines.rss', +# "rename" => [ /^/, '%%DATE%%-' ], +# "savedir" => '/Users/ward/Private/mp3/[books]/Radio RTFM', +# "linkdir" => '/Users/ward/ipod_sync/[books]/Radio RTFM', +# }, "luke_burrage" => { "rss" => 'http://www.lukeburrage.com/audio/jugglingpodcast.rss.xml', "savedir" => '/Users/ward/Private/mp3/[books]/Luke Burrage', "linkdir" => '/Users/ward/ipod_sync/[books]/Luke Burrage', "rename" => [ /%20/, ' ' ], - }, - "the_skeptics_guide_to_the_universe" => { - "rss" => 'http://www.theskepticsguide.org/rss.xml', - "rename" => [ /(?i)(skepticast)/, 'sk ' ], - "savedir" => '/Users/ward/Private/mp3/[books]/The Skeptics Guide', - "linkdir" => '/Users/ward/ipod_sync/[books]/The Skeptics Guide' } +# "the_skeptics_guide_to_the_universe" => { +# "rss" => 'http://www.theskepticsguide.org/rss.xml', +# "rename" => [ /(?i)(skepticast)/, 'sk ' ], +# "savedir" => '/Users/ward/Private/mp3/[books]/The Skeptics Guide', +# "linkdir" => '/Users/ward/ipod_sync/[books]/The Skeptics Guide' +# } } # vi: filetype=ruby diff --git a/getdistorted/getdistorted.rb b/getdistorted/getdistorted.rb index 36eb75a..fbf01a0 100755 --- a/getdistorted/getdistorted.rb +++ b/getdistorted/getdistorted.rb @@ -152,7 +152,7 @@ def getenclosure(podcast, item) date = Date.parse(pubdate.text).strftime("%Y%m%d") end if ! enclosure.nil? && ! enclosure.attribute("url").nil? - cast = enclosure.attribute("url").to_s.dup + cast = enclosure.attribute("url").value.to_s.dup filename = cast.dup filename.sub!(/^.*\//, "") if @podcasts[podcast]["rename"]