Handling attachment files in the jupyter notebook widget

Hello, I’m looking to automate some actions in grist, in particular when I put a pdf in a column. I’d like to be able to write small python scripts to extract words included between other words and thus create standardised columns without entering unnecessary data: Date/Person/Responsible/Etc/Etc.

The problem is that there’s no native library in grist for processing pdf files, so I’ve decided to use the jupyter notebook widget with PyPDF2, but I can’t find a precise link to identify where the documents are stored so that I can use them (at best it’s the download link, but the CORS prevents me from downloading it).

If you have a clue, or an answer to help me out!

Translated with DeepL.com (free version)