tezoatlipoca / GeFeSLE-server

GeFeSLE - Generic, Federated, Subscribable List Engine
1 stars 0 forks source link

Mastodon bookmark import // convert remote images to static/local #71

Open tezoatlipoca opened 5 months ago

tezoatlipoca commented 5 months ago

If a bookmarked status includes one or more media instances, download them from the host mastodon instance.

Mastodon media has a url something like this: https://media.mas.to/cache/media_attachments/files/112/179/726/980/448/736/original/b466bbf9ec16a822.jpg

It would be nice to somehow maintain the original filename perhaps? (although when we implement Medias in the database, we can have a "original URI" field to save this)