Skip to main content

Web Data Extraction Library Written in Python

Project description

Build Status

Wextracto is a toolkit for command-line web data extraction.

Installation

$ pip install wextracto

Kicking the Tyres

$ echo -e "[wex]\nsitemaps=wex.sitemaps:urls_from_sitemaps" > entry_points.txt
$ wex "http://www.ebay.com/robots.txt"

Documentation

The documentation can be found here:

http://wextracto.readthedocs.org/en/latest/index.html

Release History

0.14.1 (2017-08-17)

  • Fix errors in PhantomJS responses

  • Handle non utf-8 urls

0.14.0 (2017-07-10)

  • Ensure utf-8 is tried first even if not declared

0.12.0 (2017-04-03)

  • Support onInitialized in PhantomJS required modules

0.10.1 (2016-09-26)

  • Add –label argument for easy process-wide labelling

0.9.6 (2016-09-09)

  • Fix shutdown error caused by daemon thread for timeout with phantomjs

  • Fix handling of directories in tarfiles read from stdin (-)

0.9.5 (2016-09-06)

  • Small fix to avoid non-integer status code when error occur with PhantomJS

0.9.4 (2016-06-21)

  • Support ‘params’ keyword argument on URL.get

0.9.2 (2016-05-13)

  • Fix bug in handling HTML comments when fixing numeric character references

0.9.1 (2016-04-26)

  • Fix bug when using nested Cache objects

0.9.0 (2016-04-16)

  • Add support for reading WARC response format

0.8.8 (2016-04-11)

  • Fix bug in handling of invalid numeric character references

0.8.5 (2015-12-07)

  • Allow utf-8 in HTTP headers (only applies to PY2)

0.8.3 (2015-09-23)

  • Fix bug in HTTP decode caused by magic bytes handling.

0.8.2 (2015-09-21)

  • Add magic_bytes to Response for more reliable wex.http:decode behaviour.

0.7.9 (2015-08-18)

  • Re-worked encoding for HTML to pre-parse

0.7 (2015-06-04)

  • Better proxy support

0.4 (2015-02-12)

  • Now we flatten labels and values.

  • href and src become href_url and src_url.

0.3 (2014-12-29)

  • Some API changes + switch to “tab-separated JSON”.

0.2.2 (2014-10-24)

  • Uploaded sdist to PyPI for “pip install wextracto” simplicity.

0.1 (2014-10-16)

  • Initial release as open source

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

Wextracto-0.14.1.tar.gz (45.0 kB view details)

Uploaded Source

Built Distribution

Wextracto-0.14.1-py2.py3-none-any.whl (50.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file Wextracto-0.14.1.tar.gz.

File metadata

  • Download URL: Wextracto-0.14.1.tar.gz
  • Upload date:
  • Size: 45.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for Wextracto-0.14.1.tar.gz
Algorithm Hash digest
SHA256 049e59c8adf6dfbf88358a39799be861d27887a3ce978660278c581e8b9e6b9f
MD5 d684476a1e41d992649bd37b7bd7f4d4
BLAKE2b-256 23181f515b4b4d2c222990310ece749020c22b3712276531ad8097c3cb4c8bc1

See more details on using hashes here.

File details

Details for the file Wextracto-0.14.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for Wextracto-0.14.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 949294800ec65be7dfe715bd784af46d64f6b5ce0c935d046ec84cc21805082e
MD5 54dcb95a26520021bb31b055279f4fc9
BLAKE2b-256 437f47ce45c30d9fc7a07c61edebb8b4ed5b96b6c83decd474b59b960368e7dd

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