How to import a course composed of hundreds of lessons?

Since the course consists of hundreds of files containing the text and the same number of files containing the audio (mp3), importing lessons one by one (by copying and pasting the content of each text file and selecting each time the corresponding audio file) is very tedious.

Is there an “easy” way to import into lingq hundreds of lessons in a course?

Note: I mainly use Linux and know how to program in python.

Thanks