mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
[PR #2360] [MERGED] feat(dify_extractor): support PDF image extraction and fix DOCX hyperlinks (v0.0.8) #2422
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/langgenius/dify-official-plugins/pull/2360
Author: @yangzq50
Created: 1/4/2026
Status: ✅ Merged
Merged: 1/5/2026
Merged by: @crazywoola
Base:
main← Head:fix_docx_pdf📝 Commits (3)
0663887fix: correct docx hyperlink extractionfefe412feat(rag): implement image extraction in PdfExtractor4053bb5chore: Bump dify_extractor plugin version from 0.0.7 to 0.0.8.📊 Changes
4 files changed (+238 additions, -49 deletions)
View changed files
📝
tools/dify_extractor/manifest.yaml(+1 -1)📝
tools/dify_extractor/tools/dify_extractor.py(+1 -1)📝
tools/dify_extractor/tools/pdf_extractor.py(+100 -10)📝
tools/dify_extractor/tools/word_extractor.py(+136 -37)📄 Description
Related Issues or Context
PDF Image Extraction: Added support for extracting images from PDF documents, consistent with the functionality in the Word extractor.
DOCX Hyperlink Fix: Fixed an issue where hyperlinks in DOCX files were not being correctly extracted. The extractor now parses the underlying XML to resolve link relationships and format them as Markdown links.
This PR contains Changes to Non-LLM Models Plugin
Version Control (Any Changes to the Plugin Will Require Bumping the Version)
VersionField, Not in Meta Section)Dify Plugin SDK Version
dify_plugin>=0.3.0,<0.6.0is in requirements.txt (SDK docs)Environment Verification (If Any Code Changes)
SaaS Environment
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.