How would i make a file with SoundId's from the library using Python?

I want to achieve a python script that takes random SoundId’s out of the library using Python and puts it into a file, the issue with this is that i’ve scripted with python once and that python script didn’t even work, so i’m asking which python library would be the best to use for my goal, i’ve already searched through the internet for 30 minutes but can’t find any solution/posts on how to achieve this.

If someone could tell me which python library i have to use for this, i would appreciate it.

Have you tried browser search roblox python roblox library?

Yes i did but on how i understand that python library, it would pick only one out of the whole library, but i want to achieve a python script that searches out around 25 ids that are longer than 1 minute