Movatterモバイル変換


[0]ホーム

URL:


Skip to main content
PyPI

selectorlib 0.16.0

pip install selectorlib

Latest version

Released:

A library to read a YML file with Xpath or CSS Selectors and extract data from HTML pages using them

Verified details

These details have beenverified by PyPI
Maintainers
Avatar for ashwin from gravatar.comashwinAvatar for scrapehero from gravatar.comscrapehero

Unverified details

These details havenot been verified by PyPI
Project links
Meta
  • License: MIT License (MIT license)
  • Author:scrapehero
  • Tags selectorlib

Project description

selectorlib

https://img.shields.io/pypi/v/selectorlib.svghttps://img.shields.io/travis/scrapehero/selectorlib.svgDocumentation StatusUpdates

A library to read a YML file with Xpath or CSS Selectors and extract data from HTML pages using them

Example

>>> from selectorlib import Extractor>>> yaml_string = """    title:        css: "h1"        type: Text    link:        css: "h2 a"        type: Link    """>>> extractor = Extractor.from_yaml_string(yaml_string)>>> html = """    <h1>Title</h1>    <h2>Usage        <a href="http://test">¶</a>    </h2>    """>>> extractor.extract(html){'title': 'Title', 'link': 'http://test'}

History

Project details

Verified details

These details have beenverified by PyPI
Maintainers
Avatar for ashwin from gravatar.comashwinAvatar for scrapehero from gravatar.comscrapehero

Unverified details

These details havenot been verified by PyPI
Project links
Meta
  • License: MIT License (MIT license)
  • Author:scrapehero
  • Tags selectorlib

Download files

Download the file for your platform. If you're not sure which to choose, learn more aboutinstalling packages.

Source Distribution

selectorlib-0.16.0.tar.gz (188.8 kBview details)

UploadedSource

Built Distribution

Filter files by name, interpreter, ABI, and platform.

If you're not sure about the file name format, learn more aboutwheel file names.

Copy a direct link to the current filters

selectorlib-0.16.0-py2.py3-none-any.whl (5.8 kBview details)

UploadedPython 2Python 3

File details

Details for the fileselectorlib-0.16.0.tar.gz.

File metadata

  • Download URL:selectorlib-0.16.0.tar.gz
  • Upload date:
  • Size: 188.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.1

File hashes

Hashes for selectorlib-0.16.0.tar.gz
AlgorithmHash digest
SHA256154f7c5f39bc825a0717b24ca2cc0b95dcb2caa1669239f3d4ac6e41af398731
MD5da86499c58c7e12a63e77ab592240e61
BLAKE2b-2560057f1ae8c2740980eec4a142fd8b1f6603294bba079add5e29bf62f51503c96

See more details on using hashes here.

File details

Details for the fileselectorlib-0.16.0-py2.py3-none-any.whl.

File metadata

  • Download URL:selectorlib-0.16.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.1

File hashes

Hashes for selectorlib-0.16.0-py2.py3-none-any.whl
AlgorithmHash digest
SHA256007c156d01ab8de86f72f0914d66d704f6fb4ebda0db0e04f204083d63e55bc6
MD58aa1a3ca4568c3d278192b6d8766f1e9
BLAKE2b-2561e3e7ad0a01b07c066cf79c431324970869345e4d249242d70f20e939a5c630b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security SponsorDatadog MonitoringDepot Continuous IntegrationFastly CDNGoogle Download AnalyticsPingdom MonitoringSentry Error loggingStatusPage Status page

[8]ページ先頭

©2009-2025 Movatter.jp