heredodot Posted March 5, 2019 Report 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
Dr. McKay Posted March 5, 2019 Report 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
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.