Sha256: fb66bd3c145416ceb41dfe5070460c3afaf8e87680d9f886a196236478d7283e
Contents?: true
Size: 435 Bytes
Versions: 18
Compression:
Stored size: 435 Bytes
Contents
# -*- coding: utf-8 -*- class GazouSokuhou < EroGetter::Base name 'がぞー速報' url %r{http://stalker.livedoor.biz/archives/\d+.html} target "img.pict" 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
18 entries across 18 versions & 1 rubygems