import requests
from bs4 import BeautifulSoup
from time import sleep
import fake_useragent
ua = fake_useragent.UserAgent().random
headers = {
"user": ua
}
link_main = "https://market.csgo.com/en/"
response = requests.get(url=link_main, headers=headers)
sleep(10)
with open("file.html", "w", encoding="utf-8") as r:
r.write(response.text)
r.close()