Hello,
I think I can feat with your needs. I can write the script with PHP maybe using a library like spatie/pdf-to-text. I have used several libraries from them and are really good and continiously updated. In the other hand, I have years of experience working with PHP and made some scrappers for HTML, XLS and PDF. So, I could do this job with no problems.
Greetings, I really hope to help with your project.