element-hq / matrix-content-scanner-python

A web service for scanning media hosted by a Matrix media repository
Apache License 2.0
13 stars 9 forks source link

Add support for downloading files #15

Closed babolivier closed 2 years ago

babolivier commented 2 years ago

Implement the FileDownloader class that supports downloading files from homeservers. I've split out well-known discovery, which I'll add in another PR, for the sake of making the diff ~100L lighter. I appreciate it's still a bit of a chunky one, though I'm not sure what I can split out of it at this point.