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.5: 修正搜索页面的tag标签的正则表达式,增加自动关闭无意义PR的工作流 #170

Closed hect0x7 closed 10 months ago

hect0x7 commented 10 months ago

Summary by CodeRabbit

coderabbitai[bot] commented 10 months ago

Walkthrough

The project has seen a mix of automation, refactoring, and feature updates. A GitHub Actions workflow was introduced to auto-close PRs that target a specific file. The README reflects a restructured directory. In the codebase, there's a minor version bump, method renaming, new class methods, and a new class for search page handling. Some methods were removed, re-added with enhancements, or updated for better configuration handling and domain decision logic. A URL formatting utility was also added.

Changes

File Path Summary
.github/workflows/.../close_specific_pr.yml Added workflow to auto-close PRs modifying usage/workflow_download.py.
README.md Updated to reflect reorganized directory structure.
src/.../__init__.py Updated version number from '2.4.4' to '2.4.5'.
src/.../jm_entity.py Renamed method, added class methods, new JmSearchPage class.
src/.../jm_option.py Removed and re-added decide_image_save_dir with updates, modified other methods for image file handling, updated compatible_with_old_versions, changed decide_domain logic.
src/.../jm_toolkit.py Added format_album_url method, updated regex in pattern_html_search_tag_list.

🐇✨ In the burrow of the code, changes abound, A workflow to close, and versions are round. New methods hop in, old ones refine, A rabbit's touch, making code align. 🌟🌿


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`