Comments (11)
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.
I think so, while i try change authorization for own gifts buying script. Waiting your fix )
from node-steam-trash-bot.
Also, that i see when try get http page from PHP script with cookie use CURL
from node-steam-trash-bot.
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.
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.
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.
Great thanks, should be able to get this fixed on the weekend.
from node-steam-trash-bot.
I think this is a reason:
var cookieDetails = cookies[i].split("=");
its not work for this example: "sessionid=NTgxODk3NDA=;"
from node-steam-trash-bot.
That should be encoded though like
recentlyVisitedAppHubs=440%2C107410%2C730; sessionid=MTgXXXXODcwMA%3D%3D; Steam_Language=english;
from node-steam-trash-bot.
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.
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)
- TypeError: First argument needs to be a number, array or string. HOT 7
- Crash on trade offers via the /tradeoffer URL HOT 9
- Trade via website is not working. HOT 5
- Complete noob, can't seem to make it work HOT 4
- Windows Support HOT 1
- Unexpected identifier
- Trade offer decline
- steam has concurrent limit when one andorid device does secondConfirmation? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-steam-trash-bot.