Coder Social home page Coder Social logo

atomicptr / crab Goto Github PK

View Code? Open in Web Editor NEW
19.0 3.0 5.0 94 KB

๐Ÿฆ€ A versatile tool to crawl dozens of URLs from a given source, like a sitemap or an URL list.

License: MIT License

Go 98.82% Makefile 0.91% Dockerfile 0.26%
go golang web cache-warmer cache-warmup sitemap sitemap-check url-monitor

crab's People

Contributors

atomicptr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

crab's Issues

sitemap request doesn't use --header flag

When running crab crawl:sitemap https://www.domain.com/sitemap.xml --header user-agent=some-whitelisted-user-agent the request for the sitemap doesn't use the user agent header.

Consider re-adding snap support

A few months ago the snap part of the pipeline broke and I haven't been able to get it working again since then so I decided to remove snap support for now (might still push updates manually we'll see...).

Since I don't use Ubuntu nor Snap my interest in this is also kinda low anyway. If someone wants to help fix this I'm open to it.

Add ability to persist logs into a file instead of logging them

$ crab crawl:sitemap https://domain.com/sitemap.xml --output output.log
# NO prints here...

It might probably make sense to have a different option for persisting the logs as a valid json file...

$ crab crawl:sitemap https://domain.com/sitemap.xml --output-json output.json
$ cat output.json
[
    {"status": 200, "url": "https://domain.com/page-1", ...},
    ...
]

Add ability to filter crawl logs

It should be possible to filter crawl logs, depending on what I'm doing I might just want to look for non 200 pages

An idea on how this could look like:

$ crawl crawl:sitemap https://domain.com/sitemap.xml --filter-status=!200
# Only lists results that are not 200...

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.