heredodot Posted March 5, 2019 Report Share Posted March 5, 2019 how to set proxy for this? const SteamCommunity = require('steamcommunity'); let community = new SteamCommunity(); var details = { "accountName": login, "password": pass, "twoFactorCode": 2fa } await (new Promise((resolve, reject) => { community.login(details,function(err,sessionID,cookies,steamguard,oAuthToken){ console.log(err); console.log(sessionID); console.log(cookies); console.log(steamguard); console.log(oAuthToken); resolve(); }); })); Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted March 5, 2019 Report Share Posted March 5, 2019 const Request = require('request'); const SteamCommunity = require('steamcommunity'); let community = new SteamCommunity({"request": Request.defaults({"proxy": "http://1.2.3.4"})}); Quote Link to comment Share on other sites More sharing options...
heredodot Posted March 5, 2019 Author Report Share Posted March 5, 2019 thank you very much! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.