jsvine / pdfplumber

Plumb a PDF for detailed information about each char, rectangle, line, et cetera — and easily extract text and tables.
MIT License
6.02k stars 619 forks source link

Possibility to extract table of contents #1018

Closed Alssndr0 closed 8 months ago

Alssndr0 commented 8 months ago

I couldn't find any documentation on this. Is it possible to extract the table of contents? This would be a very nice to have.

jsvine commented 8 months ago

Hi @Alssndr0, does this get you want you want?: https://github.com/jsvine/pdfplumber/discussions/456#discussioncomment-947380

Alssndr0 commented 8 months ago

Amazing, that's exactly what I was looking for. Thank you!