Sha256: f09c1f71f58ce13759073c136ea40fcb2562e5daf7eab720ed04c5a132390151
Contents?: true
Size: 421 Bytes
Versions: 5
Compression:
Stored size: 421 Bytes
Contents
# -*- coding: utf-8 -*- class OnaNeet < EroGetter::Base name "オナニート速報" url %r{http://onaneet.com/archives/(\d+).html} target ".article-body-inner img.pict" do |path| if path.parent[:href] =~ /jpe?g|png|gif$/ 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
5 entries across 5 versions & 1 rubygems