
Security News
Follow-up and Clarification on Recent Malicious Ruby Gems Campaign
A clarification on our recent research investigating 60 malicious Ruby gems.
Add this line to your application's Gemfile:
gem 'bookcrawler'
And then execute:
$ bundle
Or install it yourself as:
$ gem install bookcrawler
Set your Amazon credentials as env vars:
export AWS_ACCESS_KEY_ID=...
export AWS_SECRET_ACCESS_KEY=...
export AMAZON_ASSOCIATES_TRACKING_ID=...
Find a book:
crawler = Bookcrawler::Client.new
book = crawler.find_by_title('A Clash of Kings')
# <Bookcrawler::Book:
# asin: "0553579908",
# title: "A Clash of Kings (A Song of Ice and Fire, Book 2)",
# author: "George R. R. Martin",
# detail_page_url: "http://...",
# cover_url: "http://...">
You can fetch the book cover at cover_url
. Support for covers is not official in the Amazon Product Advertising API. The url is generated according to this article.
This gem uses Vacuum under the hood.
The gem is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that bookcrawler 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
A clarification on our recent research investigating 60 malicious Ruby gems.
Security News
ESLint now supports parallel linting with a new --concurrency flag, delivering major speed gains and closing a 10-year-old feature request.
Research
/Security News
A malicious Go module posing as an SSH brute forcer exfiltrates stolen credentials to a Telegram bot controlled by a Russian-speaking threat actor.