hughrun / ephemetoot

A command line tool to delete your old toots: 🥳 ==> 🧼 ==> 😇
https://ephemetoot.hugh.run
GNU General Public License v3.0
53 stars 8 forks source link

add archive_media configuration option #73

Closed fobser closed 3 years ago

fobser commented 3 years ago

Styles and docs

Tests

The requests library doesn't support file:// URLs so I have no idea how to write a test for this. It seems inappropriate to to fetch a random URL from the internet in a test.

What this PR does

Changes in this pull request With the archive_media option set to true, media attachments are archived together with the toot.

Related issues

Resolves #72

fobser commented 3 years ago

Hi @hughrun I made the requested changes and force pushed my branch.

Thanks for handling the test, much appreciated. I had a look at the existing tests but kinda got lost.

fobser commented 3 years ago

Thanks, I'm @florian@bsd.network