Welcome to Parsel CLI’s documentation!

Contents:

Parsel CLI

Documentation Status Coverage Status Code Quality Status Requirements Status

Parsel Command Line Interface

Quickstart

Example:

$ curl http://scrapy.org/ | parsel-cli '.container a::attr(href)' | tail -2
http://doc.scrapy.org/en/latest/topics/ubuntu.html
https://github.com/scrapy/scrapy/archive/1.1.zip

See parsel-cli -h for more options.

Credits

This package was created with Cookiecutter and the rolando/cookiecutter-pypackage project template.

Installation

Stable release

To install Parsel CLI, run this command in your terminal:

$ pip install parsel-cli

If you don’t have pip installed, this Python installation guide can guide you through the process.

From sources

The sources for Parsel CLI can be downloaded from the Github repo.

You can either clone the public repository:

$ git clone git://github.com/rolando/parsel-cli

Or download the tarball:

$ curl  -OL https://github.com/rolando/parsel-cli/tarball/master

Once you have a copy of the source, you can install it with:

$ pip install -e .

History

0.2.0 (2016-08-03)

  • Promoted version bump.

0.1.1 (2016-08-03)

  • Added –absolute-links argument.
  • Allow URLs as file argument.
  • Added –version argument.

0.1.0 (2016-07-25)

  • First release on PyPI.

Indices and tables