lib/nv/niconico.rb in nv-1.0.1 vs lib/nv/niconico.rb in nv-1.2.1
- old
+ new
@@ -1,20 +1,19 @@
require 'mechanize'
require 'open-uri'
+require 'net/http'
require 'uri'
require 'cgi'
require 'rexml/document'
require 'rss'
require 'ostruct'
require 'ruby-progressbar'
-$LOAD_PATH.unshift(File.expand_path(File.dirname(__FILE__)))
+require 'nv/niconico/helper'
+require 'nv/niconico/fabric'
+require 'nv/niconico/base'
+require 'nv/niconico/video'
+require 'nv/niconico/mylist'
-require 'niconico/helper'
-require 'niconico/fabric'
-require 'niconico/base'
-require 'niconico/video'
-require 'niconico/mylist'
-
module Niconico
-
+ OUTPUT_NAME = "%{title} - [%{id}].%{extension}"
end