Sha256: fb60c41edd829a804d97fd127297031391e1e33318b1b645a91e1c72f6a398eb
Contents?: true
Size: 465 Bytes
Versions: 1
Compression:
Stored size: 465 Bytes
Contents
# -*- coding: utf-8 -*- class ElogBakufu < EroGetter::Base name 'エログ幕府' url %r{http://blog.livedoor.jp/samplems-bakufu/archives/51351906.html} target ".article-body-inner img" do |path| if path.parent.name == "a" && path.parent[:href] =~ /jpe?g|gif|png$/ path.parent[:href] else path[:src] end end sub_directory do url.match(/(\d+).html/)[1] end filename { |attr| "%04d%s" % [attr[:index], attr[:ext]] } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ero_getter-1.3.4 | lib/downloader/elog_bakufu.rb |