项目作者: hisbarnabas

项目描述 :
A NAVER data crawler based in PHP
高级语言: PHP
项目地址: git://github.com/hisbarnabas/naver-crawler.git
创建时间: 2017-06-07T07:59:00Z
项目社区:https://github.com/hisbarnabas/naver-crawler

开源协议:MIT License

下载


NAVER CRAWLER

A data crawler from NAVER written in PHP, mainly targeted on NAVER Blogs, then NAVER KIN (knowledge IN), and so on.

Usage

Update constants in naver_blog_crawler.php as your preference, first

  1. /** constants: Line 16-21 */
  2. $FROM_PAGE = 1;
  3. $TIME_FOR_NAPS = 4;
  4. $MAX_NUM_ERRORS = 100;
  5. $NAVER_BLOG_ID = "nong-up";
  6. $DIR_DATA = $DIR_HOME."/data/"; // change this to the right place, and make it writable

Run the script on command-line shell

  1. $ /usr/bin/php naver_blog_crawler.php

This project follows MIT License though, please checkout the independent license policy for simplehtmldom project which is included in this project as well.