Sha256: af09b7afbe8a73328eb5b12d535beeafd16daed7a498b2917eb1349a67988913
Contents?: true
Size: 388 Bytes
Versions: 6
Compression:
Stored size: 388 Bytes
Contents
# -*- coding: utf-8 -*- class OkkiChannel < EroGetter::Base name "おっきちゃんねる" url %r{http://moegazo.info/archives/(\d+).html} target ".article-body-inner a > img" do |path| path.parent[:href] if path.parent[:href] =~ /jpe?g|png|gif$/ end sub_directory do url.match(/(\d+).html/)[1] end filename { |attr| "%04d%s" % [attr[:index], attr[:ext]] } end
Version data entries
6 entries across 6 versions & 1 rubygems