Closed ashleve closed 3 years ago
I don't have a good solution to suggest for this.
The arXiv API has no concept of chapters or any other subdivision within a paper. The summary (and other metadata) are available because authors include them in their arXiv submissions; they aren't dynamically extracted from the paper text.
Or maybe do you know of any tool that I could use for that after downloading full pdf?
I don't know of any tools, but you have two options here (depending on your goal).
Try to extract the first chapter from a downloaded PDF. Difficulty: it's not easy to interpret content from PDF files, except by doing so visually.
Try to extract the first chapter from downloaded source (see (Result).download_source
). Difficulty: the source isn't available for all papers uploaded to arXiv, and the source files may be organized in a variety of different ways. I'm not sure you can even depend on them all being LaTeX.
Good luck!
Hi, thank you for the great package! is there a way to e.g. download only the first chapter or chosen one, simlarly how you can access the summary? Or maybe do you know of any tool that I could use for that after downloading full pdf?