It seems they are responding with a 303 (See Other) HTTP status response along with the url of a randomly selected instance.
The details can be found here: https://privatebin.info/directory/about#faq-forward
The idea:
pbcli could have a --random-host flag. When set by user, the CLI application should make a request to above url, fetch the privatebin host provided in the response. And then set that as the active instance for the current invocation.
Privatebin.info [link] has ability to forward to random healthy privatebin instances. One can try this by going to the following url: https://privatebin.info/directory/forward-me
It seems they are responding with a 303 (See Other) HTTP status response along with the url of a randomly selected instance. The details can be found here: https://privatebin.info/directory/about#faq-forward
The idea:
pbcli could have a
--random-host
flag. When set by user, the CLI application should make a request to above url, fetch the privatebin host provided in the response. And then set that as the active instance for the current invocation.