Download China Daily newspaper PDF
Project description
ChinaDailyProject
Download China Daily newspaper PDF
Free software: GNU General Public License v3
Documentation: https://chinadailyproject.readthedocs.io.
Installation and Upgrade
Installation: pip install chinadaily
Upgrade: pip install –upgrade chinadaily
Usage
Download today’s China Daily newspaper: chinadaily
Download specific date’s newspaper (eg 2020-10-10): chinadaily 20201010
How to Development
after development, do the following steps:
run test: python setup.py test
install a local development version: python setup develop
release a new version: python setup.py sdist upload
Features
自动下载人民日报指定日期的PDF文件
支持下载当天、指定日期、整月或整年的报纸
智能识别并下载所有版面(多节点页面)的PDF链接
按正确顺序合并所有PDF文件
自动处理URL规范化和去重
详细的日志记录和错误处理
支持强制重新下载功能
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.1.0 (2020-07-05)
First release on PyPI.
0.1.6 (2020-10-11)
Auto-remove temp files
Release first runnable version
0.1.7 (2020-10-13)
Support download specified date, default is today
0.1.8 (2020-10-14)
Support download multi specified date, default is today
0.1.9
Support download specific month(-m/–month) and year(-y/–year) newspaper
0.2.0 (2025-10-13)
修复时区差异问题,确保默认下载当天的报纸
支持下载多节点页面的所有PDF链接
优化PDF文件合并顺序,按照节点编号排序
添加详细的测试指南
改进URL构建和规范化逻辑
增强错误处理和日志记录功能
整理项目结构,将测试文件统一移动到tests目录
添加urllib3兼容性修复,解决可能出现的’appengine’导入错误
更新requests依赖版本至2.31.0+,解决与jupyterlab-server和twine的版本冲突
0.2.1 (2025-10-15)
小版本更新,修复依赖冲突问题
完善项目配置
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file chinadaily-0.2.1.tar.gz.
File metadata
- Download URL: chinadaily-0.2.1.tar.gz
- Upload date:
- Size: 20.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2556c239055eda1569db1baf9cbc8df49999c064734becff09c5d0354b6fb22b
|
|
| MD5 |
34f1e6f904bf81a99e60aff94fcf4db7
|
|
| BLAKE2b-256 |
7cd31d4121d3413de8c8a3411d90c9cd66c4cc71dc7b4594a2b7c952942e4129
|
File details
Details for the file chinadaily-0.2.1-py2.py3-none-any.whl.
File metadata
- Download URL: chinadaily-0.2.1-py2.py3-none-any.whl
- Upload date:
- Size: 9.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
993f6c9fcbf11ff8bcc1db26740fb5bd1af9347d0cb3f9fb93a29fb3ede53035
|
|
| MD5 |
afe72df36f1f737bb6e66072a4fceefc
|
|
| BLAKE2b-256 |
91616c4ba1c6e7c17a4d7667eecd42b7876bdb785ed9932cb0027cfcb267911b
|