Security News
New axobject-query Maintainer Faces Backlash Over Controversial Decision to Support Legacy Node.js Versions
A JavaScript library maintainer is under fire after merging a controversial PR to support legacy versions of Node.js.
google-sr
Advanced tools
Readme
Yet another library to do google searches.
Below is a simple example of using this package
npm install google-sr
.then
import search from 'google-sr'
search('node.js', { safeMode: false }).then(r => console.log(r))
import search from 'google-sr'
search('node.js').then(r => console.log(r))
import search from 'google-sr'
// use an iife to use await
(async () => {
const result = await search('node.js')
console.log(result)
// search('node.js', { safeMode: false }) for without safe mode
})()
DescriptionSelector
,
linkSelector
,
TitleSelector
} - default: DefaultSelectors
true
selectors default -
#main > div > div > div > div:not(.v9i61e) > div.AP7Wnd
div.ZINbbc > div:nth-child(1) > a
div.ZINbbc > div:nth-child(1) > a > h3
Join my discord server for support: discord
This repository and the code inside it is licensed under the MIT 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 82 weekly downloads. As such, google-sr popularity was classified as not 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
A JavaScript library maintainer is under fire after merging a controversial PR to support legacy versions of Node.js.
Security News
Results from the 2023 State of JavaScript Survey highlight key trends, including Vite's dominance, rising TypeScript adoption, and the enduring popularity of React. Discover more insights on developer preferences and technology usage.
Security News
The US Justice Department has penalized two consulting firms $11.3 million for failing to meet cybersecurity requirements on federally funded projects, emphasizing strict enforcement to protect sensitive government data.