Class: EroGetter::Livedoor

Inherits:
Base
  • Object
show all
Defined in:
lib/ero_getter/livedoor.rb

Direct Known Subclasses

ElogBakufu, ShimoSoku, WakutekaSokuhou

Class Method Summary collapse

Methods inherited from Base

#base_dir, connection, #direction, #directory, #document, filename, #get_target, #html, #http_client, #initialize, name, #run, #save_image, #save_zip, sub_directory, target, #title, #unzip, #url, url

Constructor Details

This class inherits a constructor from EroGetter::Base

Class Method Details

.blog_id(id) ⇒ Object



3
4
5
# File 'lib/ero_getter/livedoor.rb', line 3

def blog_id(id)
  self.url Regexp.new("http://blog.livedoor.jp/#{id}/archives/\\d+.html")
end