Sha256: d57d79d4b5fb9c0ac157d7cb5204c0e64e36de0458f103cb4401b4d9d2ae71d4

Contents?: true

Size: 400 Bytes

Versions: 10

Compression:

Stored size: 400 Bytes

Contents

# -*- coding: utf-8 -*-
class WakutekaSokuhou < EroGetter::Base

  name 'わくてか速報'
  url %r{http://blog.livedoor.jp/wakusoku/archives/(\d+).html}

  target ".article-body-inner a > img" do |path|
    path.parent[:href] if path.parent[:href] =~ /jpe?g|gif|png$/
  end

  sub_directory do
    url.match(/(\d+)\.html/)[1]
  end

  filename {|attr| "%04d%s" % [attr[:index], attr[:ext]] }

end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
ero_getter-1.3.9 lib/downloader/wakuteka_sokuhou.rb
ero_getter-1.3.8 lib/downloader/wakuteka_sokuhou.rb
ero_getter-1.3.7 lib/downloader/wakuteka_sokuhou.rb
ero_getter-1.3.6 lib/downloader/wakuteka_sokuhou.rb
ero_getter-1.3.5 lib/downloader/wakuteka_sokuhou.rb
ero_getter-1.3.4 lib/downloader/wakuteka_sokuhou.rb
ero_getter-1.3.3 lib/downloader/wakuteka_sokuhou.rb
ero_getter-1.3.2 lib/downloader/wakuteka_sokuhou.rb
ero_getter-1.3.1 lib/downloader/wakuteka_sokuhou.rb
ero_getter-1.3.0 lib/downloader/wakuteka_sokuhou.rb