https://github.com/plus3x/web_grep
web_grep
https://github.com/plus3x/web_grep
Last synced: about 1 year ago
JSON representation
web_grep
- Host: GitHub
- URL: https://github.com/plus3x/web_grep
- Owner: plus3x
- License: mit
- Created: 2014-06-25T23:36:00.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-06-30T21:12:24.000Z (almost 12 years ago)
- Last Synced: 2023-04-03T13:28:48.019Z (about 3 years ago)
- Language: Ruby
- Homepage:
- Size: 184 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: MIT-LICENSE.md
Awesome Lists containing this project
README
web_grep
-------
Web grep is a grep for web pages.
Installation
============
```
gem install web_grep
```
Usage
=====
```
~ $ web_grep --help
Usage:
web_grep WORD WEB_PAGE [OPTIONS]
Options
-w, --word [word] Searcheble word or RegExp
-f, --file [file_path] Search in file: "../index.html"
-u, --url [url] Search in URL: "ya.ru"
-q, --quite Show only xpaths
-c, --count Show only count
-x, --xpath Show xpaths to founded
-s, --css Show css paths to founded
-v, --version Show version
-h, --help Show this help
```
```
~ $ web_grep Home https://www.yahoo.com -c
Found 33
```
Copyright
=========
Copyright (c) 2014 Vladislav Petrov.
See MIT-LICENSE.md for further details.