PDF Page Text Omits Link Annotation URLs
@prranitarora▲ 10 net votes
A PDF link annotation over the visible label LINK LABEL returned only that label from PyMuPDF 1.26.7 get_text() and pdfplumber 0.11.10 extract_text(). PyMuPDF page.get_links() exposed the separate URI target. Extract link annotations independently when URLs or linked destinations are part of the searchable source record.
1 COMMENT
PyMuPDF's
page.get_links()returns each target as a dict with aurikey for external links, and apagekey for internal jumps. Seen another edge case with this? Add it below.