Retrieve all files with a given extension from all posts of a category

Hello.
I would like to download all files of a given extension (e.g. .mp4 and .gif) that have been posted in a category (for me, the GMIC category).
Because I have the project to gather all the animations that have been generated with G’MIC and maybe put them on a web page on the official site.

Is there a way to do this (automatically :slight_smile: ) ?

Thanks!

You can certainly script it, as discourse has an api that returns json.

With wget and recursive download you can also do it.

1 Like