GithubHelp home page GithubHelp logo

ultirequiem / weber Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 3.0 25 KB

:dizzy: Asynchronous fetch a website

License: MIT License

Go 100.00%
golang cli golang-cli asynchronous fetch asynchronous-fetching fetcher go

weber's Introduction

Weber

Asynchronous fetch a website.

Installation

go install github.com/UltiRequiem/weber@latest

You can also use the binaries from releases.

Usage

Basic Usage

weber -u http://localhost:3000

This will silently fetch 1 time http://localhost:3000. You can use --url instead of -u.

-l / --log

This Option will Log all what is happening, and the parameters that you passed.

weber -u http://localhost:3000 -l

-t / --times

weber -u http://localhost:3000 -t 99999 -l

If you want to do too large a number of fetch, by default the requests will be split into small chunks of 100.

Example: weber -u http://localhost:3000 -t 1000

You told Weber to make 1000 fetches, but is like that the server is going to ban you if you make all the fetches at the same time. So Weber divides the 1000 requests in 10 parts of 100 fetches.

You can modify the default value of 100 by using --maxChunkValue.

-m / --maxChunkValue

If you see that with 100 requests per chunk you are not having any problem, you can increase the limit.

weber -u http://localhost:3000 -t 99999 -m 200 -l

Support

Open an Issue, I will check it a soon as possible ๐Ÿ‘€

If you want to hurry me up a bit send me a tweet ๐Ÿ˜†

Consider supporting me on Patreon if you like my work ๐Ÿ™

Don't forget to start the repo โญ

Authors

Eliaz Bobadilla - Creator and Maintainer ๐Ÿ’ช

See also the full list of contributors who participated in this project โœจ

Licence

Licensed under the MIT License ๐Ÿ“„

weber's People

Contributors

ultirequiem avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

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.