import requests
sait = 'https://web.telegram.org/k/#@'
x = 't.me/gayshiit'
y = x.index('/')
x = x[y+1:]
sait += x
soup = requests.get(url='https://web.telegram.org/k/#@gayshiit').text
print(soup)
...
soup = requests.get(
url='https://web.telegram.org/k/#@gayshiit',
headers={'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.79 Safari/537.36'}
).text
...