# gopa **Repository Path**: unswerving/gopa ## Basic Information - **Project Name**: gopa - **Description**: 爬虫一条,用go写的,外号:狗爬 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 16 - **Created**: 2015-09-18 - **Last Updated**: 2024-11-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Gopa # [狗爬],A High Performance Distributed Spider Written in GO. ## Building Gopa ## linux: Run `chmod a+x build.sh &./build.sh` to build the Gopa windows: Run `build.bat` to build the Gopa a pre-compled gopa can be download from here: https://github.com/medcl/gopa-release/ ## Running Gopa ## after building the project run `./gopa -h` for a list of commandline options tips: you can download the pre-compiled [Gopa] from here: https://github.com/medcl/gopa-release * -seed option : start a crawling, giving a seed url to Gopa. ie: `./gopa -seed=http://www.baidu.com` * -log option : logging level,can be set to `trace`,`debug`,`info`,`warn`,`error` ,default is `info` Gopa allow you to specify more detailed crawling-task settings by config a file called: `config.ini` you can download the sample file,and changes the default value to your own setting, BTW,do not forget to put this config stay with gopa,and to make it work.. ## Stopping Gopa ## it's safety to press `ctrl+c` stop the current running Gopa,Gopa will handle the rest,saving the checkpoint, you may restore the job later,the world is still in your hand. ## Loving By Gopa ## Gopa is standing on the shoulders of giants,thanks for the following goodies. * https://github.com/zeebo/sbloom * http://code.google.com/p/weed-fs * https://github.com/robfig/config * https://github.com/PuerkitoBio/purell license ======= Copyright 2013 Medcl (m^medcl.net) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.