Closed hect0x7 closed 10 months ago
The changes across various files reflect a version update and enhancements in a Python codebase, likely for a comic crawler project. Modifications include updates to GitHub Actions workflow, tutorial documentation, client implementation, and response handling. Configuration variables have been renamed for consistency, and new classes and methods have been introduced for better response management. Error handling has been improved, and dependencies have been updated to ensure compatibility.
File Path | Change Summary |
---|---|
.github/workflows/download_dispatch.yml |
Updated CLIENT_IMPL parameter description and default value. |
assets/docs/sources/tutorial/... |
Added instructions for enabling GitHub Actions; updated URLs. |
setup.py |
Updated commonX package version requirement. |
src/jmcomic/__init__.py |
Updated version number from '2.4.3' to '2.4.4'. |
src/jmcomic/jm_client_impl.py |
Added domain_list and retry_times parameters; updated methods and error handling; introduced get_cookies method. |
src/jmcomic/jm_client_interface.py |
Modified JmResp class; added JmJsonResp and JmAlbumCommentResp classes; updated properties and methods. |
src/jmcomic/jm_config.py |
Renamed global variables; removed system_proxy and get_cookies methods; updated jm_log method. |
src/jmcomic/jm_downloader.py |
Changed formatting of '关键词' output. |
src/jmcomic/jm_entity.py |
Replaced JmModuleConfig.DEFAULT_AUTHOR with JmMagicConstants.DEFAULT_AUTHOR . |
src/jmcomic/jm_option.py |
Renamed configuration variable; modified build_jm_client method; updated decide_domain function parameters. |
src/jmcomic/jm_plugin.py |
Renamed variables and updated method references. |
src/jmcomic/jm_toolkit.py |
Added condition in match_field ; updated raises and replace_old_exception_executor methods; clarified comment in decode_resp_data . |
tests/test_jmcomic/test_jm_client.py |
Renamed JmModuleConfig variables. |
In the burrow of code, the rabbit did hop, 🐇
Through the files and the functions nonstop.
With a tweak and a fix, and a rename so slick,
The crawler did update with a click.Now the actions are set, and the docs are all neat,
With the clients and responses so sweet.
A version bump here, a new feature there,
The rabbit's hard work, truly beyond compare.So let's celebrate the changes, so deft,
For in the code, no bug is left.
With every commit, the project does thrive,
In the digital warren, where the code comes alive. 🌟
Summary by CodeRabbit
New Features
Documentation
Bug Fixes
Refactor
Style
Chores
commonX
package to>=0.6.4
.