|chris 17d597168a||1 month ago|
|.gitignore||1 month ago|
|README.md||1 month ago|
|config.example.yaml||1 month ago|
|tagtotoot.py||1 month ago|
This terrible script scrapes configured mastodon instances for configured tags and feeds the resulting list of toot URLs to your (single-user?) instances search API to fetch them for the federated timelime (or hashtag search, if your instances software supports that and why would it?)
If you want to use this copy
config.yaml and fill
in the blanks. You can get a bearer token by using pinafore, logging into
your instance, open the network console (F12 in firefox), search for something
and check the request headers on the GET operation.
All search requests made by this script are slow and blocking. If you schedule this to run at periodic intervals be sure to have some sort of locking so the script is not executed while the previous run is still working.