Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
google-sr
Advanced tools
Readme
Simple & Fast Package for scraping Google search results without the need for an API key. 🚀
View documentation here
Come chat with us on our discord
To get started, you can install google-sr using your preferred package manager:
# npm
npm install google-sr
# pnpm
pnpm add google-sr
# yarn
yarn add google-sr
You can easily perform a single-page search like this:
import { search } from 'google-sr';
search({ query: 'nodejs' }).then(console.log);
// or if using await/async
const searchResults = await search({ query: 'nodejs' });
console.log(searchResults);
By default only
ResultTypes.SearchResult
are returned, use the filterResults option to configure it
This is not sponsored, supported, or affiliated with Google Inc.
Unlike the conventional recommendation of using the Google API, this module scrapes the Google search result page (which might potentially infringe upon Google's terms of service).
The source code within this repository is intended solely for educational purposes.
The author (typicalninja) & contributors takes no responsibility for any issues that arise from misuse, such as IP blocking by Google. Your discretion in usage is advised.
Tests are written using mocha and can be run by using the test
script.
Weekly tests a executed using a github action to ensure compatibility
Project uses pnpm as its package manager
pnpm run test
Make sure you are on the latest version before creating bug reports
Support and bug reporting both can be done on github issues
This repository and the code inside it is licensed under the Apache-2.0 License. Read LICENSE for more information.
FAQs
Fast and efficient Package for scraping Google search results without the need for an API key
The npm package google-sr receives a total of 1,054 weekly downloads. As such, google-sr popularity was classified as popular.
We found that google-sr demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.