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.
crawler-ninja-expired
Advanced tools
Readme
This Crawler.Ninja plugin aims to find expired domains by crawling web sites.
Help & Forks welcome ! or please wait ... work in progress !
Actually, the expired domain data are stored in the a txt file. We plan to add more flexibilities in the upcoming releases.
$ npm install crawler-ninja crawler-ninja-expired simple-proxies --save
var proxyLoader = require("simple-proxies/lib/proxyfileloader");
var crawler = require("crawler-ninja");
var ep = require("crawler-ninja-expired");
var cs = require("crawler-ninja/plugins/console-plugin");
var proxyFile = "proxies.txt";
// Load proxies
var config = proxyLoader.config()
.setProxyFile(proxyFile)
.setCheckProxies(true)
.setRemoveInvalidProxies(true);
proxyLoader.loadProxyFile(config, function(error, proxyList) {
if (error) {
console.log(error);
}
else {
crawl(proxyList);
}
});
function crawl(proxyList){
var end = function(){
console.log("Crawl done !");
};
// Set the Crawl config
crawler.init({
externalDomains : true,
externalHosts : true,
firstExternalLinkOnly : true,
images : false,
scripts : false,
links : false, //link tags used for css, canonical, ...
followRedirect : true,
retries : 0
}, end, proxyList);
var ed = new expired.Plugin({
expiredTxtFile : "./logs/expireds.txt",
majecticKey : "[your majecticKey]",
whois : {user : "[your whoisxmlapi name]", password : "[your whoisxmlapi password]"}
});
var consolePlugin = new cs.Plugin();
crawler.registerPlugin(consolePlugin);
crawler.registerPlugin(ed);
crawler.queue({url : "http://yourdomain.com"});
}
Using proxies is not mandatory but it is recommanded. Remove the attributes proxyList in the crawler constructor if you don't want to use proxies.
You can find all the crawler options on this page.
FAQs
Expired domains finder for crawler.ninja
The npm package crawler-ninja-expired receives a total of 17 weekly downloads. As such, crawler-ninja-expired popularity was classified as not popular.
We found that crawler-ninja-expired 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.