pick own instances
EduardSchwarzkopf opened this issue ยท 5 comments
How about I'll add a function, that can do a generic search based on the user's input?
e.g. instead of going one by one function, you can decide what instances you want to search.
Maybe also an array option with multiple instances for the same username?
-
cool ideas!
-
Basically, the first function uses the Mastodon api to search for a user across all instances. If you check the readme.md update, an answer was given by the Mastodon team about the api not being fully reliable.
-
See also the readme.md update regarding the unsuccessful use case for the user
@sector035
, so your idea of multiple instances being searched for the same username is exactly the fix we need, and this is what @WebBreacher suggested this morning. -
For this, maybe having a
.json
file with every instance on, and searching for the user. Then we can keep working on the project in the future and to keep adding new instances to the.json
.
Sounds great.
I'm going to play around with it a bit more.
Can you assign the issue to me, I'm going to make PR, later ith the changes
Hey @EduardSchwarzkopf ! I think we can now close this issue.
I added argparse
, added an awesome new feature
that comes in support of the Mastodon API, as suggested by @WebBreacher, and scans Masto's own server database.
Check it out!
Awesome and perfect timing!
@EduardSchwarzkopf Let me know if you feel like adding anything, also feel free to start adding more servers to the json