Skip to content

refactor: extract converter functions and lookup table, improve is_url#3

Merged
yandy merged 1 commit into
mainfrom
improve
May 25, 2026
Merged

refactor: extract converter functions and lookup table, improve is_url#3
yandy merged 1 commit into
mainfrom
improve

Conversation

@yandy
Copy link
Copy Markdown
Owner

@yandy yandy commented May 25, 2026

  • 提取 _convert_pdf / _convert_docx 辅助函数和 _CONVERTERS 查找表,降低 convert 命令复杂度
  • 提取 _resolve_source 辅助函数处理 URL/本地文件解析
  • 用 urlparse 改进 is_url 实现

@yandy yandy merged commit aa5f329 into main May 25, 2026
2 checks passed
@yandy yandy deleted the improve branch May 27, 2026 01:55
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.

1 participant