Module collecting firms with the largest portal organizations 2gis.ru. 2GIS - is a huge directory of enterprises with more than 2 million companies in the 100 largest cities in Russia, Ukraine and Kazakhstan.
To collect the companies implemented a convenient functionality of the admin directory. Collection is carried out in three possible ways
- Through API c using the key.
- Directly by a client library php Curl
- Directly by a client library php Curl, through a proxy server.
When collecting consistently indicated the city heading and subheading in the catalog 2gis.ru, then you can specify the country / city, region, category of its own Directory. Then start the process at the stage of testing or imports. The process is switched off during collection, if the collection does not detect the required response when receiving links to the profiles of the company and the number of firms. The reason otkyucheniya process can serve as a malfunction of the proxy server crash site 2GIS or lock on the ip. Lock mode can be circumvented by using a proxy.
The proxy settings specified ip and port, and username and password when using the elite proxy. Do not use a proxy, if you have all the possibilities to collect data without it, as it will load much server and proxy malfunctions can lead to unexpected results: some organizations may not be collected or collected again. Because of this, so when you use a proxy, use and proven elite proxy.
Using the API more efficiently. API provide data in a much milder form, which is much smaller ship system. However, the key can often be blocked, which can create some inconvenience, the same and your IP may also get blacklisted 2gis.ru and be locked.
! Remember that the administration is not responsible for the availability of this module in case your key lock, IP, or on any other grounds by the service 2gis.ru. And when buying a module these risks borne by the buyer
Recommendations! The module is the sql-database by city and heading to April 2015. The differences between the currently unlikely. Nevertheless, the basis of more than 100 cities and more than 10 thousand columns, which can create significant inconvenience and increase download time. If you use only a few of the city, it is recommended to fill their own needs Categories cities. If you have a thematic catalog, it is recommended to fill only necessary Categories headings, using a mode without a key.
No feedback yet