lib/webradio.rb in rget-4.4.0 vs lib/webradio.rb in rget-4.4.1
- old
+ new
@@ -8,10 +8,10 @@
class NotFoundError < StandardError; end
class DownloadError < StandardError; end
def self.instance(params, options)
case params['url']
- when %r[^http://hibiki-radio\.jp/]
+ when %r[^https?://hibiki-radio\.jp/]
require 'hibiki'
Hibiki.new(params, options)
when %r[^http://(www\.)?onsen\.ag/program/]
require 'onsen'
Onsen.new(params, options)