smalot / smalot/pdfparser

Another instance of missing pages

Open
#473 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug missing or incomplete functionality
Dominant language
PHP
Stars
2.7k
Forks
579
Avg merge
2m
Merged PRs (30d)
1

Description

hello,
in this pdf the demo extracts the text only of the first 2 pages while the file consists of 6 pages .. why?

https://smallpdf.com/result#r=0a78b3d4797040e0b0ec2eb671f86466&t=share-document

thanks

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the report with the PDF linked in the issue and compare the extracted output with all six source pages. Trace the PDF parsing entry point to determine why extraction stops after two pages. Done means the document's text is extracted from all six pages without regressing other PDFs.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.