import requests
from bs4 import BeautifulSoup as BS
s = requests.session()
r = requests.get('https://skinkeen.ru/vintovka-cs-go/m4a1-s/m4a1-s-atomnyy-splav-ponoshennoe/')
pack = BS(r.content, 'html.parser')
csrf = pack.select('input[name=_csrf-frontend]')[0]['value']
inv = pack.select('input[name=inventory]')[0]['value']
fprice = pack.select('input[name=fprice]')[0]['value']
buy = {
'_csrf-frontend':csrf,
'inventory':inv,
'fprice':fprice
}
add_to_inv = s.post('https://mc.yandex.ru/webvisor/49402951?wmode=0&rn=303080656&page-url=https%3A%2F%2Fskinkeen.ru%2Fvintovka-cs-go%2Fm4a1-s%2Fm4a1-s-atomnyy-splav-ponoshennoe%2F&wv-type=0&wv-hit=486170452&wv-part=3&wv-check=57942&force-urlencoded=1&browser-info=ti%3A1%3Av%3A1964%3Az%3A180%3Ai%3A20201106130240%3Arqnl%3A1%3Ast%3A1604656978%3Au%3A1602695566242862165%3App%3A3629563401', data=buy)
print(add_to_inv)
print(add_to_inv.text)
<Response [200]>
GIF89a € !ù , D ;
<form class="purchase_form_inventory1" action="/konteyner-cs-go/predmet-gamma-keys-2/" method="post" data-pjax="0">
<input type="hidden" name="_csrf-frontend" value="5xA879BrDEact9z4KU24XArOkfE4nVpn3XgwRAtroxiJSA2AmCxGc-nbpYFwfIw7frf-lHqvHDGCIlkzUyrbbA==">
<input type="hidden" name="inventory" value="213a8dff1105943bcf77cc12b811b8d8">
<input type="hidden" name="fprice" value="5.00">
<button type="submit" class="snap _color buy-user-good">Купить</button>
</form>