lib/downloader.rb in narou-2.7.1 vs lib/downloader.rb in narou-2.7.2

- old
+ new

@@ -1043,9 +1043,10 @@ save_raw_data(raw, subtitle_info) element = extract_elements_in_section(raw, subtitle_info["subtitle"]) element["data_type"] = "text" else save_raw_data(raw, subtitle_info, ".html") + %w(introduction body postscript).each { |type| @setting[type] = nil } @setting.multi_match(raw, "body_pattern", "introduction_pattern", "postscript_pattern") element = { "data_type" => "html" } %w(introduction body postscript).each { |type| element[type] = @setting[type] || "" }