pip install requests-htmlfrom requests_html import HTMLSession
session = HTMLSession()
url = 'https://toster.ru'
r = session.get(url)
r.html.render()function followed(){
document.getElementById('follow').style.display="none"
document.getElementById('followed').style.display="block"
}
function unfollow(){
document.getElementById('followed').style.display="none"
document.getElementById('follow').style.display="block"
}opcacity: 0 на display:none