webgrep-0.1.0 is not a library.
webgrep: the simplest way to surf the web
webgrep is the fastest way to read the web right from your terminal, with all the features of regular grep.
how to use:
download it with cargo, then use it like any other unix command:
flags:
-u/--urlbase url to search from-s/--searchOPTIONAL, search query (REGEX supported)-r/--recursiveOPTIONAL, iterate through/search all links on the base url for a set depth (see below), provide a value for depth (how many branches of the link tree to explore)-p/--pathcontainsOPTIONAL, plaintext string that must be in a path for it to be explored (useful to prevent going to going wandering)-o/--samehostOPTIONAL, only explore webpages on the same host (ie same domain)
bugs/contributing
please report any bugs you encounter on the 'issues' page. we welcome any contributions, just make a pr!
coming soon!
- support for adding a delay in between requests
- tests
- more advanced tree creation method
- more!