Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

filegrabber

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

filegrabber

  • 0.1.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

FileGrabber

Quickly access an index of pages and download a file from each page.

Create an empty specification file with grab init.

Then edit it and run with grab go (it runs the grabber 'default' if you provide no argument).

Try some basic changes like filtering:

# vim: ft=ruby
grabber 'default' do
  set_http_basic_username 'mcantor'
  set_http_basic_password ENV['HTTP_BASIC_PASSWORD']
  index 'https://whatever.example.com/files', '.panel-body ul div.row li a'
  # only download log files
  @docpages.select! { |page| page.filename.end_with? '.log' }
  download 'body > div.container > section.document-downloads > a:nth-child(1)'
end

FAQs

Package last updated on 20 Jul 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc