Sha256: 275ee5081d82f44ee82db1c365061633844d66563ae821ab61c4addb2798d452
Contents?: true
Size: 331 Bytes
Versions: 16
Compression:
Stored size: 331 Bytes
Contents
class PmStyle < EroGetter::Base name 'PM Style' url %r{http://mxserver08.net/new_pm/main/movie\d+.html} target "a > img" do |path| path.parent[:href] if path[:alt] =~ /file\d+/ end sub_directory do matches = targets.first.match(/pm_(.+?)(\d+)[a|b|c].zip$/) "pm_#{matches[1]}_#{"%06d" % matches[2]}" end end
Version data entries
16 entries across 16 versions & 1 rubygems