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

Dev #175

Closed hect0x7 closed 10 months ago

hect0x7 commented 10 months ago

Summary by CodeRabbit

github-actions[bot] commented 10 months ago

To prevent beginners from mistakenly submitting PRs, if your PR only modifies the usage/workflow_download.py file, it will be automatically closed. If you really want to submit a PR, please reopen it yourself. Make sure you know what you are doing!

coderabbitai[bot] commented 10 months ago

Walkthrough

The changes across various files in the codebase primarily involve updates to workflow configurations, clearer descriptions in YAML files, renaming of methods and parameters in Python classes, addition of new methods and attributes, and updates to version numbers. The alterations enhance clarity, extend functionality, and improve the software's maintainability.

Changes

File Path Change Summary
.github/workflows/... Added branches-ignore key to workflow configurations.
assets/docs/sources/tutorial/...
src/jmcomic/jm_downloader.py
src/jmcomic/jm_plugin.py
Renamed filter_iter_objs to do_filter and updated related logic.
src/jmcomic/__init__.py
src/jmcomic/jm_client_impl.py
src/jmcomic/jm_entity.py
src/jmcomic/jm_option.py
src/jmcomic/jm_toolkit.py
tests/test_jmcomic/test_jm_custom.py
usage/workflow_download.py
Added new methods, attributes, and updated existing ones. Improved type annotations and docstrings.
src/jmcomic/jm_client_interface.py Added add_favorite_album method.
src/jmcomic/jm_config.py Added DEFAULT_CLIENT_CACHE attribute and updated HTTP headers logic.

🐇✨ In the code where rabbits hop, Changes abound, they never stop. Methods renamed, docs refined, With every commit, the code does shine. 🌟 🐾


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`