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

Version Path
ero_getter-1.6.1 lib/downloader/pm_style.rb
ero_getter-1.6.0 lib/downloader/pm_style.rb
ero_getter-1.5.1 lib/downloader/pm_style.rb
ero_getter-1.5.0 lib/downloader/pm_style.rb
ero_getter-1.4.0 lib/downloader/pm_style.rb
ero_getter-1.3.9 lib/downloader/pm_style.rb
ero_getter-1.3.8 lib/downloader/pm_style.rb
ero_getter-1.3.7 lib/downloader/pm_style.rb
ero_getter-1.3.6 lib/downloader/pm_style.rb
ero_getter-1.3.5 lib/downloader/pm_style.rb
ero_getter-1.3.4 lib/downloader/pm_style.rb
ero_getter-1.3.3 lib/downloader/pm_style.rb
ero_getter-1.3.2 lib/downloader/pm_style.rb
ero_getter-1.3.1 lib/downloader/pm_style.rb
ero_getter-1.3.0 lib/downloader/pm_style.rb
ero_getter-1.2.0 lib/downloader/pm_style.rb