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.1.0.tar.gz
(2.7 kB
view hashes)
Built Distribution
Close
Hashes for web_grepy-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3b1a331241d16e60c8b334d94ada728e929377a55cacfb64e9a710655c55bcc |
|
MD5 | c63f0a54ff4eecb8847ac967f304a76a |
|
BLAKE2b-256 | 4d83b33775a442d24c55f4f14486ebc04829447e1b2dcef47aa1785bc98bec64 |