lib/subtitle.rb in undertexter-0.1.2 vs lib/subtitle.rb in undertexter-0.1.3
- old
+ new
@@ -7,10 +7,10 @@
def initialize(args)
args.keys.each { |name| instance_variable_set "@" + name.to_s, args[name] }
end
def url
- @language == :english ? "http://eng.undertexter.se/subtitle.php?id=#{id}" : "http://www.undertexter.se/utext.php?id=#{id}"
+ @language == :english ? "http://eng.undertexter.se/subtitle.php?id=#{id}" : "http://undertexter.se/laddatext.php?id=#{id}"
end
# Downloading the file and saves it disk
def download!(args = {})
if args[:to].nil?
\ No newline at end of file