Skip to main content

web-grep written in Python3

Project description

web-grepy: CommandLine web-grep.py

PyPI

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


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 details)

Uploaded Source

Built Distribution

web_grepy-1.1.0-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file web-grepy-1.1.0.tar.gz.

File metadata

  • Download URL: web-grepy-1.1.0.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.9.9 Linux/4.19.104-microsoft-standard

File hashes

Hashes for web-grepy-1.1.0.tar.gz
Algorithm Hash digest
SHA256 43be29a5545c0b3c05cb6d2064aeea35b7b8731751ae05ca14439a9c5ef4a2a3
MD5 78cf57d5b98da52fe5a5d1a604443fc4
BLAKE2b-256 20c27e924ccee0693fa30a813d19ab5c1483e3a785e1f2a1e3db0f702a4bad8d

See more details on using hashes here.

File details

Details for the file web_grepy-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: web_grepy-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.9.9 Linux/4.19.104-microsoft-standard

File hashes

Hashes for web_grepy-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d3b1a331241d16e60c8b334d94ada728e929377a55cacfb64e9a710655c55bcc
MD5 c63f0a54ff4eecb8847ac967f304a76a
BLAKE2b-256 4d83b33775a442d24c55f4f14486ebc04829447e1b2dcef47aa1785bc98bec64

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page