web-grep written in Python3
Project description
web-grepy: CommandLine web-grep.py
Re-implementation web-grep with Python3,
Scraping HTML or XML with simple Pattern Matching like grep -o
.
# Requires Python3
$ pip install web-grepy
$ which web-grepy
$ curl -sL https://example.com/xxx | web-grepy '<a href={}></a>'
$ curl -sL https://example.com/xxx | web-grepy '<a href={link}>{text}</a>' # ltsv by default
$ curl -sL https://example.com/xxx | web-grepy '<a href={link}>{text}</a>' -f json
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
web-grepy-1.0.0.tar.gz
(2.8 kB
view hashes)
Built Distribution
Close
Hashes for web_grepy-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e0b904611edd15a7b40b305cb502ab962edd448aad4683da3578eaa5baef70c |
|
MD5 | bac36128391f95d8c2d2734f6a543ffb |
|
BLAKE2b-256 | cd556aa527225023c728734d95ab9809db6faa6359985de2924a60c415d97100 |