
Security News
Researcher Exposes Zero-Day Clickjacking Vulnerabilities in Major Password Managers
Hacker Demonstrates How Easy It Is To Steal Data From Popular Password Managers
This is a community-supported Bobik SDK for web scraping in Ruby.
Either install directly and system-wide:
gem install bobik
from command linerequire 'bobik'
to your Ruby codeOr, add to bundler:
gem 'bobik'
to Gemfilerequire 'bobik'
to your Ruby codeHere's a quick example to get you started.
client = Bobik::Client.new(:auth_token => YOUR_AUTH_TOKEN, :timeout_ms => 60000)
sample_data = {
urls: ['amazon.com', 'zynga.com', 'http://finance.yahoo.com/'],
queries: ["//th", "//img/@src", "return document.title", "return $('script').length"]
}
client.scrape(sample_data, true) do |results, errors|
pust "Errors: #{errors}"
results.each do |url, queries|
puts "Printing results for #{url}"
queries.each do |query, result|
puts " Result of query #{query}: #{result}"
end
end
end
Full API reference is available at http://usebobik.com/sdk/
Write to support@usebobik.com to become a collaborator.
Submit them here on GitHub: https://github.com/emirkin/bobik_ruby_gem/issues
FAQs
Unknown package
We found that bobik demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Hacker Demonstrates How Easy It Is To Steal Data From Popular Password Managers
Security News
Oxlint’s new preview brings type-aware linting powered by typescript-go, combining advanced TypeScript rules with native-speed performance.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.