This commit is contained in:
2026-09-14 12:01:04 +03:00
parent 0dad80bb17
commit 64578acf30
5 changed files with 167 additions and 25 deletions

View File

@@ -105,7 +105,7 @@ UNIQUE constraint: `(prefix, file_path)`
## Картинки
Извличат се по време на парсване:
- `.docx` — `<a:blip>` в paragraph drawings → bytes от related_parts
- `.docx` — `<a:blip>` в paragraph drawings → `r:embed` (related_parts) или `r:link` (UNC/`file:///` + sidecar `<stem>_media/` до .docx)
- `.html` — локални файлове и `data:` URLs; HTTP пропуска
- `.pdf` — `pdfplumber.page.crop(bbox).to_image()` като PNG
- `.doc` — след LibreOffice/MS Word конверсия до `.docx`