nanos / FediFetcher

FediFetcher is a tool for Mastodon that automatically fetches missing replies and posts from other fediverse instances, and adds them to your own Mastodon instance.
https://blog.thms.uk/fedifetcher?utm_source=github
MIT License
296 stars 215 forks source link

Skip fetching context of private posts #139

Closed AndrewKvalheim closed 6 days ago

AndrewKvalheim commented 6 days ago

From my timeline FediFetcher is repeatedly attempting to access private posts:

2024-07-01 17:16:27.362 PDT: Error getting context for toot https://example.com/@example/xxxxxxxxxxxxxxxx. Status code: 404
2024-07-01 17:16:37.445 PDT: Error getting context for toot https://example.com/@example/xxxxxxxxxxxxxxxx. Status code: 404
2024-07-01 17:16:44.915 PDT: Error getting context for toot https://example.com/@example/xxxxxxxxxxxxxxxx. Status code: 404
2024-07-01 17:16:51.760 PDT: Error getting context for toot https://example.com/@example/xxxxxxxxxxxxxxxx. Status code: 404

This will never succeed, so better to skip those requests.

nanos commented 6 days ago

Nice one! Thank you!