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.
backlinks-serp
Advanced tools
This module allows to execute a search on Google and get the most important backlinks from the domains's SERP
Readme
This module allows to execute a search on Google and get the most important backlinks from the domains's SERP.
$ npm install backlinks-serp
var serp = require("backlinks-serp");
var options = {
host : "google.com",
num : 100,
jar: true,
qs : {
q : "blackfriday",
pws : "0"
},
apiKey : process.env.MAJESTIC_API_KEY,
datasource : "fresh",
showDomainInfo : true
};
serp.searchDomainBacklinks(options, function(error, links){
if (error) {
console.log("Error during retrieving domains on SERP : " + error);
done();
}
//console.log("END TEST", util.inspect(result, false, null));
console.log("Domain,Domain TF,Domain CF,Domain Topic 1,Domain Topic 2,Domain Topic 3, Country Code,TLD," +
"Ext. Backlinks,Indexed URLS, Crawled URLS," +
"Source URL,URL TF,URL CF,Topic 1,Topic 2,Topic 3,Link Type,Anchor Text,Target URL,Redirect,Image");
links.forEach(function(link) {
let output = "";
if (link.domain) {
output += link.domain.name + "," + link.domain.tf + "," + link.domain.cf + "," + link.domain.topical1 + "," +
link.domain.topical2 + "," + link.domain.topical3 + "," + link.domain.countryCode + "," + link.domain.tld + "," +
link.domain.extBacklinks + "," + link.domain.indexedURLS + "," + link.domain.crawledURLS + ",";
}
else {
output += ",,,,,,,,,,,";
}
output += link.sourceURL + "," + link.tf + "," + link.cf + "," + link.topical1 + "," + link.topical2 + "," + link.topical3 + "," +
link.linkType + "," + link.anchorText + "," + link.targetUrl + "," + link.flagRedirect + "," + link.flagImages;
console.log(output);
});
The 'options' json structure can contain the following paramaters :
For executing the request/scrape on Google :
For Checking the domains :
FAQs
This module allows to execute a search on Google and get the most important backlinks from the domains's SERP
The npm package backlinks-serp receives a total of 7 weekly downloads. As such, backlinks-serp popularity was classified as not popular.
We found that backlinks-serp 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
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.