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