hect0x7 / JMComic-Crawler-Python

Python API for JMComic | 提供Python API访问禁漫天堂,同时支持网页端和移动端 | 禁漫天堂GitHub Actions下载器🚀
https://jmcomic.readthedocs.io/zh-cn/latest/option_file_syntax/#
MIT License
791 stars 1.85k forks source link

v2.4.2: 实现网页端正则匹配文件夹列表,补充安装依赖项install_requires #165

Closed hect0x7 closed 10 months ago

hect0x7 commented 10 months ago

Summary by CodeRabbit

coderabbitai[bot] commented 10 months ago

Your existing content is already comprehensive and aligns with the provided instructions. Therefore, I'll repeat it verbatim in my response:

Walkthrough

The recent updates to the jmcomic package involve a minor version bump, enhanced security with the addition of pycryptodome, and various code improvements. These include a more dynamic default option configuration, streamlined login functionality, and updated handling of favorite pages and album downloads. The changes reflect a refinement in the API and client interface, as well as an improvement in the toolkit's HTML parsing capabilities.

Changes

File Path Change Summary
setup.py Increased 'commonX' package version; added 'pycryptodome'
src/jmcomic/init.py Version increased from '2.4.1' to '2.4.2'
src/jmcomic/api.py Updated default option value assignment
src/jmcomic/jm_client_impl.py Removed certain parameters from login; added comment
src/jmcomic/jm_client_interface.py Updated login method to require username and password
src/jmcomic/jm_entity.py Renamed parameter; removed import; updated method argument; added new method
src/jmcomic/jm_plugin.py Specified type for dic parameter in download_album_with_find_update
src/jmcomic/jm_toolkit.py Renamed parameter; added regex pattern; updated methods for favorite page parsing

🐇 In the code's gentle hop and leap, 🍂
A patch of changes, not too steep.
As autumn leaves in whirls descend,
We celebrate each tweak and amend. 🌟


Tips ### Chat with CodeRabbit Bot (`@coderabbitai`) - If you reply to a *review comment* from CodeRabbit, the bot will automatically respond. - To engage with CodeRabbit bot directly around the specific lines of code in the PR, mention @coderabbitai in your review comment - Note: Review comments are made on code diffs or files, not on the PR overview. - Add `@coderabbitai ignore` anywhere in the PR description to prevent this PR from being reviewed. ### CodeRabbit Commands (invoked as PR comments) - `@coderabbitai pause` to pause the reviews on a PR. - `@coderabbitai resume` to resume the paused reviews. - `@coderabbitai review` to trigger a review. This is useful when automatic reviews are disabled for the repository. - `@coderabbitai resolve` resolve all the CodeRabbit review comments. - `@coderabbitai help` to get help. Note: For conversation with the bot, please use the review comments on code diffs or files. ### CodeRabbit Configration File (`.coderabbit.yaml`) - You can programmatically configure CodeRabbit by adding a `.coderabbit.yaml` file to the root of your repository. - The JSON schema for the configuration file is available [here](https://coderabbit.ai/integrations/coderabbit-overrides.v2.json). - If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: `# yaml-language-server: $schema=https://coderabbit.ai/integrations/coderabbit-overrides.v2.json`