lukasschwab / arxiv.py

Python wrapper for the arXiv API
MIT License
1.07k stars 120 forks source link

Download the chosen chapter #60

Closed ashleve closed 3 years ago

ashleve commented 3 years ago

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?

lukasschwab commented 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).

Good luck!