Jump to content
McKay Development

nuck

Member
  • Posts

    2
  • Joined

  • Last visited

Everything posted by nuck

  1. Hi guys, first of all i am sorry about my english. I try some trade offer accept without any library like "communitylink/tradeoffer/<tradeofferid/accept" but response either null or nothing please help me. There is my code def test(trade_id: int): with requests.Session() as s: s.get(url="https://steamcommunity.com/tradeoffer/"+trade_id+"/accept/") sessionid = s.cookies.get("sessionid") param = { "sessionid": sessionid, "serverid": 1, "tradeofferid": trade_id } headers = { "referer": "https://steamcommunity.com/tradeoffer/"+trade_id+"/" } print (sessionid) response = requests.post("https://steamcommunity.com/tradeoffer/"+trade_id+"/accept",headers=headers,params=param) print (response.text) test("4765101895")
×
×
  • Create New...