🎨 debug pdf parser

This commit is contained in:
Daniel 2023-09-03 10:37:06 +08:00
parent 6d9c84c9bd
commit 06512f994b
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -751,6 +751,8 @@ func (parser *PdfAssetParser) getTextPageWorker(id int, instance pdfium.Pdfium,
// Parse will parse a PDF document using PDFium webassembly module using a worker pool
func (parser *PdfAssetParser) Parse(absPath string) (ret *AssetParseResult) {
return nil
now := time.Now()
if !strings.HasSuffix(strings.ToLower(absPath), ".pdf") {
return