Skip to main content

jd-page-parser

Currently only support book pages. All fields use same encoding ‘utf-8’.

Category fields: * name - Category name * url - Category url * children - Subcategories.

Book list fields: * links - A list of links in {‘title’: ‘’, ‘url’: ‘’} format * next_page_uri- Next page uri

Book detail fields: * title - Book title * author - Book authors, delimited by comma * images - Image url list * detail - Detail key-value pairs

Content

  • jd_page_parser.category_parsers.BookCategoryParser

  • jd_page_parser.product_list_parsers.BookListParser

  • jd_page_parser.detail_parsers.BookDetailParser

Installation

The simplest way is to install it via pip:

pip install jd-page-parser

Run Test

pip install -r requirements-dev.txt

tox

Metadata

Release files for jd-page-parser 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for jd-page-parser 0.0.1
File Interpreter ABI Platform Actions
jd_page_parser-0.0.1-py2.py3-none-any.whl Python 2, Python 3 none any Details for jd_page_parser-0.0.1-py2.py3-none-any.whl

Release files / jd_page_parser-0.0.1-py2.py3-none-any.whl

Download URL jd_page_parser-0.0.1-py2.py3-none-any.whl
Size 8.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
75d5f0fb6e37a3681c9320e19056992189ba0844816f0a3defe46e222c6cd198
BLAKE2b-256 checksum
How to use checksums
6594a7822ac63ead685f43d28d10f711aa5f5597bb39c8b9797d7a5825e942f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/38.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.4.3

Security for jd-page-parser 0.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page