If you want to get top visited websites, Alexa is a reliable source. But, sadly, they only free the first 50 websites, and if you want to get more, you have to pay a fee. One of the ways to obtain that list is to use AWS service with price $0.0025 per URL. Everything seems easy when you are willing to pay, however, their sample code is only available ruby, php, java that I do not like them. I have rewritten a small script in Python to do this, you can check it bellow.