Coder Social home page Coder Social logo

gocrawler's Introduction

Go Crawler

A web crawler in Go.

gocrawler's People

Contributors

mollsreis avatar

Watchers

 avatar

gocrawler's Issues

configurable buffer size

shrink the todos buffer size to 100 by default and expose the size to configuration options for flexibility

obey meta

Don't crawl nofollow and obey robots.txt

handle redirects

Follow redirects (default) but don't crawl if landing outside of domain. Option to not follow redirects or only follow a few levels.

Add user-agent

Add a custom user-agent (and allow custom setting via CLI)

Code refactor

Code is getting ugly; last step before MVP should be refactoring code for readability and maintainability.

JSON output

Output should be JSON, with the option to output to file instead of stdout.

Integration test

Create an integration test by spinning up a test server and hitting it with the main crawler.

use tabs

go standard is tabs. use them and then keep with gofmt

Allow for crawl throttling

Via command line flag. This will need to be in place to support robots.txt Crawl-delay directive anyway

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.