Git Product home page Git Product logo

Comments (11)

bonnici avatar bonnici commented on August 31, 2024

That's not good, it's probably because of all the changes to Steam lately. I'll take a look when I can.

from node-steam-trash-bot.

lobzenko avatar lobzenko commented on August 31, 2024

I think so, while i try change authorization for own gifts buying script. Waiting your fix )

from node-steam-trash-bot.

lobzenko avatar lobzenko commented on August 31, 2024

Also, that i see when try get http page from PHP script with cookie use CURL

from node-steam-trash-bot.

lobzenko avatar lobzenko commented on August 31, 2024

Notice: return first url to "http://steamcommunity.com/" screenshot show im login, but when try get
http://steamcommunity.com/id/[id]/tradeoffers/ repeat switching with https://steamcommunity.com/market/eligibilitycheck/

from node-steam-trash-bot.

lobzenko avatar lobzenko commented on August 31, 2024

ok, im write all cookies from steam webform use phantom autgorization, and its works.

I think now only sessionid not enough.

Also recommend keep cookies in file JSON

var cookieFile = 'cookies-steam-market';
var cookieStr = fs.read(cookieFile);
var cookies = JSON.parse(cookieStr);

phantom.clearCookies();

for(var k in cookies) {
phantom.addCookie({
'name': cookies[k]['name'],
'value': cookies[k]['value'],
'domain': cookies[k]['domain'],
'httponly': cookies[k]['domain'],
'secure': cookies[k]['secure'],
'expires': (new Date()).getTime() + (1000 * 60 * 60)
});
}

from node-steam-trash-bot.

eknowles avatar eknowles commented on August 31, 2024

BTW the url sets this cookie:

webTradeEligibility={
  "allowed":1,
  "allowed_at_time":0,
  "steamguard_required_days":15,
  "sales_this_year":1968,
  "max_sales_per_year":-1,
  "forms_requested":0,
  "new_device_cooldown_days":7
}; path=/; httponly

from node-steam-trash-bot.

bonnici avatar bonnici commented on August 31, 2024

Great thanks, should be able to get this fixed on the weekend.

from node-steam-trash-bot.

lobzenko avatar lobzenko commented on August 31, 2024

I think this is a reason:

var cookieDetails = cookies[i].split("=");

its not work for this example: "sessionid=NTgxODk3NDA=;"

from node-steam-trash-bot.

eknowles avatar eknowles commented on August 31, 2024

That should be encoded though like

recentlyVisitedAppHubs=440%2C107410%2C730; sessionid=MTgXXXXODcwMA%3D%3D; Steam_Language=english; 

from node-steam-trash-bot.

bonnici avatar bonnici commented on August 31, 2024

Looks like this is fixed with the latest version of node-steam and node-steam-trade. Updating those packages should make it work again.

from node-steam-trash-bot.

bonnici avatar bonnici commented on August 31, 2024

Make sure you use 'npm install --latest' since it's a minor version update on node-steam.

from node-steam-trash-bot.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.