Let’s see how to find visitor’s country by ip with koa 2 framework. We will be using https://ip-api.io to simplify the task.
Then we will stop web scrapers.
Please note, that latest Koa requires at least Node v7.6.0.
Let’s see how to find visitor’s country by ip with koa 2 framework. We will be using https://ip-api.io to simplify the task.
Then we will stop web scrapers.
Please note, that latest Koa requires at least Node v7.6.0.
ElasticSearch is used to serve faceted queries, i.e. filter proxies by parameters like country, anonymity, supported websites, etc. It’s possible to create the same kind of functionality in plain Redis, but it’s kind of awkward (google ‘redis faceted search’).
In this article we will look how Gimmeproxy.com stores it’s data. The only datastores used are Redis and ElasticSearch. They were chosen because of speed.
I’m a software developer and I’m not disappointed by new Apple Macbook. Why? Because I didn’t wait for it and got a different laptop instead!
Ok, I admit the title is a bit cheesy:) But that’s it really. In June I was shopping for a new laptop and considered available options. At the time Apple was silent about specs and release date of the new MBP as usual.
BTW: I’m using Macbook PRO 2015 at work everyday and it’s ok, but I needed more powerful machine for personal use.
Recently I migrated from Wordpress to static blog generator Hexo.io. I also modified default hexo-wordpress-migrator a little bit in order to support Yoast seo meta keywords and description, [code]
blocks and more tag.
But Wordpress is great, why did I switch from it?
Hey, I would like to take this opportunity to wish all of you a very Merry Christmas and a prosperous New Year!
When I needed working proxy servers for one project, I tried to use free proxy lists. As it turned out, most of those proxies didn’t work well for one reason or another.
Some were just a web proxy interface, some required authentication. Some were banned, slow or didn’t respond at all. And I needed only working proxies. That’s how Gimmeproxy.com idea was born.
Hey guys, I know I wasn’t really active on this blog last months. Here is the reason.
This week GimmeProxy API was heavily updated. It was ported to use my custom proxy-checking library which proved to be much more reliable. It provides a lot more information about each proxy server as well.
Proxy-testing library is opensourced, so check it out - https://www.npmjs.com/package/check-proxy and feel free to use it in your own projects!
Also a long awaited feature - search API was finally added. For example, to get random proxy from United States, tested in last 10 minutes and with port 80, do the following: http://gimmeproxy.com/api/getProxy?port=80&maxCheckPeriod=600&country=US.
More examples at the API page: http://gimmeproxy.com/#how.
Little bit of stats: GimmeProxy has 700-800 working proxies at any given moment. On average it serves 60 requests per second to more than 1300 machines every day, peaking at 150 requests per second. And it’s growing!
Next week I’m going to blog about GimmeProxy internals, so stay tuned!
Just upgraded to PHP 7 and your Laravel 5 app stopped working? Get errors like this?
This post shows how to fix it.