Created
August 7, 2013 12:15
-
-
Save tiefenb/6173561 to your computer and use it in GitHub Desktop.
blippex spam
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var request = require('request'); | |
var async = require('async'); | |
var worker = async.queue(function(url, cb) { | |
var data = { | |
"url": url, | |
"time_spent": 199999, | |
"created_at": new Date().toGMTString() | |
}; | |
var r = request.post('https://api.blippex.org/add/', function(err, res) { | |
console.log(res.body); | |
cb(); | |
}); | |
var form = r.form(); | |
for(var key in data) { | |
if(data.hasOwnProperty(key)) { | |
form.append(key, data[key]); | |
} | |
} | |
}, 1); | |
setInterval(function() { | |
var nextreq = Math.random()*100000; | |
console.log('next request:', nextreq); | |
setTimeout(function() { | |
worker.push('http://iglo.de/'); | |
}, nextreq); | |
}, 1000); |
What i forgot:
And, if you woul dhave to do it every day, because when the result is older than 90 days it will be deleted, and when people are selecting a different time frame it will also not show up.
But of course, we are always trying to improve it, we have already some ideas like getting a one time token for every request, but if you have a better idea please let us know!
Nope sorry and I guess I am 9 years too late for the reply :-D
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
Thank you for using Blippex!
You should be able to add a few pages but then you should run into a rate limit (which is quite high right now, still fine tuning).
Because the index is still very small you could be able right now to partly influence it, but we think that when the number of pages per day is higher you would not be easy (means without any costs) able to influence the results.
But of course, we are always trying to improve it, we have already some ideas like getting a one time token for every request, but if you have a better idea please let us know!
It is not that easy because no cookies and no session management :)
Thank you,
Max from Blippex