Skip to content

up#1

Merged
Zhalslar merged 6 commits intomainfrom
first
Dec 11, 2025
Merged

up#1
Zhalslar merged 6 commits intomainfrom
first

Conversation

@Zhalslar
Copy link
Copy Markdown
Owner

No description provided.

Copy link
Copy Markdown
Contributor

@sourcery-ai sourcery-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry @Zhalslar, your pull request is larger than the review limit of 150000 diff characters

@Zhalslar Zhalslar requested a review from Copilot December 11, 2025 11:17
@Zhalslar
Copy link
Copy Markdown
Owner Author

@copilot review

Copy link
Copy Markdown
Contributor

Copilot AI commented Dec 11, 2025

@Zhalslar I've opened a new pull request, #2, to work on those changes. Once the pull request is ready, I'll request review from you.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a comprehensive link parser plugin for AstrBot that supports parsing and downloading content from multiple platforms including Bilibili, Douyin, Weibo, Xiaohongshu, Kuaishou, Acfun, YouTube, TikTok, and Twitter. The plugin features media card rendering, automated cache cleaning, and platform-specific authentication.

Key changes:

  • Complete plugin implementation with parser framework and platform-specific parsers
  • PIL-based media card rendering system with emoji support
  • Download management with size/duration limits and progress tracking

Reviewed changes

Copilot reviewed 34 out of 47 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
metadata.yaml Plugin metadata configuration
main.py Plugin entry point and core orchestration
core/utils.py Utility functions for file operations and text processing
core/render.py Media card rendering engine using PIL
core/parsers/*.py Platform-specific parsers for each supported service
core/download.py Download manager with streaming and yt-dlp support
core/constants.py Shared constants and platform enumerations
core/clean.py Automated cache cleanup scheduler
core/exception.py Custom exception hierarchy
_conf_schema.json Configuration schema definition
README.md Documentation and usage guide
LICENSE MIT license with copyright year mismatch

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.md Outdated
Comment thread core/parsers/data.py Outdated
Zhalslar and others added 3 commits December 11, 2025 19:20
[WIP] Fix recent commit issues in code
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@Zhalslar Zhalslar merged commit 4bbc908 into main Dec 11, 2025
@Zhalslar Zhalslar deleted the first branch January 7, 2026 10:45
Zhalslar pushed a commit that referenced this pull request Mar 8, 2026
…convert-path-to-uri

fix: use file:// URIs for local media in MessageSender
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants