I used scrapper libs but it did not resolve, however, i got the ip address and added this ip address into C:\Windows\System32\drivers\etc\hosts like 123.12.12.123 www.example.com server.example.com and save it. then use the curl bash translated to python code and got response correctly.