在Python中,如何检查是否采用了域名?

TIM*_*MEX 7 python unix linux whois

我想要whois"abc.us"或"abc.ly",看看它是否被拍摄.

如何使用python点击它并查看是否已拍摄?