Skip to main content

pyce3: Multilingual Web Page Content Extractor for Python3

Introduction

pyce3 is a python3 package for multilingual web page content extraction. It is used to extract the content of article type web pages, such as news, blog posts, etc.

Usage

import pyce3
import requests

url = "http://caijing.chinadaily.com.cn/a/201911/21/WS5dd62455a31099ab995ed438.html"
html = requests.get(url).content
encoding, time, title, text, next_link = pyce3.parse(url, html)
print("编码:"+encoding)
print('='*10)
print("标题:"+title)
print("时间:"+time)
print('='*10)
print("内容:"+text)
print("NextPageLink: ", next_link)

Metadata

Release files for pyce3 1.0.0

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

Source distribution (sdist)

Source distribution for pyce3 1.0.0
File Size Uploaded Provenance Actions
pyce3-1.0.0.tar.gz 4.2 kB Without provenance Details for pyce3-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyce3 1.0.0
File Interpreter ABI Platform Actions
pyce3-1.0.0-py3-none-any.whl Python 3 none any Details for pyce3-1.0.0-py3-none-any.whl

Total release size: 12.7 kB

Release files / pyce3-1.0.0.tar.gz

Download URL pyce3-1.0.0.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
13dcd5738bfb65b80fd8f7d4bad29520655b80b07bd433978c28cd72c038e5d3
BLAKE2b-256 checksum
How to use checksums
89aff13ad2c9ad0ed1c9dc6c736119d8187887c22dd241a867f4990402f7e732
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.0.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.1

Release files / pyce3-1.0.0-py3-none-any.whl

Download URL pyce3-1.0.0-py3-none-any.whl
Size 8.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3923560efdd8fc13dc9c4e3aa7215c6eb8c082e996c525c36bf1e1d7e2775ea4
BLAKE2b-256 checksum
How to use checksums
02c384374e67d368af3e1f81936e73fa703e520f6de8212f6b390e8a32e85fb1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.0.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.1

Security for pyce3 1.0.0

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

1.0.0 This release

2 release files 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