jd-page-parser 0.0.1

Creator: bradpython12

Last updated:

Add to Cart

Description:

jdpageparser 0.0.1

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

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.