import requests
file = requests.get("https://login:pass@pricelabs.yandex.ru/export/myshop@yandex.ru/myshop/prices.xls")
f = open("priceRF.xls", "wb")
f.write(file.text.encode('cp65001'))
f.close()
print("Done!")
f = open("priceRF.csv", "w")
f.write(file.text)