Skip to content

Instantly share code, notes, and snippets.

💭
Seeking for opportunities

Denis Volkov denis-cto

💭
Seeking for opportunities
Block or report user

Report or block denis-cto

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@denis-cto
denis-cto / parse.js
Created Sep 19, 2017
dom.gosuslugi.ru parser for companies names and emails
View parse.js
const args = require("node-args-parser")(process.argv)
var number = args.number;
if (number === 'undefined') process.exit();
console.log("\007");
var posix = require('posix');
posix.setrlimit('nofile', {soft: 10000}); // multiple connections require a lot of open session files
var RateLimiter = require('request-rate-limiter');
var limiter = new RateLimiter({
rate: 200 // requests per interval,
You can’t perform that action at this time.