We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
using Leaf.xNet; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Poe_StashAndMtx_Dump { class Program { private const string _cookieAuth = "POESESSID=0781497aaa664ae602890520936f6;"; private static string Request(string url/*, ref CookieDictionary cookies*/) { using (var request = new HttpRequest()) { HttpResponse response; request.Cookies.Set("POESESSID", "0781497aaa664ae60289936f83c6", ".pathofexile.com", "/"); //request.Cookies = _cookieAuth; request.ConnectTimeout = 30 * 1000; request.ReadWriteTimeout = 30 * 1000; request.UserAgentRandomize(); request.AllowAutoRedirect = false; request.Referer = ""; response = request.Get(url); //cookies = response.Cookies; return response.ToString(); } } static void Main(string[] args) { var accountName = "melirench"; var league = "Legion"; var getStash = Request("https://www.pathofexile.com/character-window/get-stash-items?accountName="+ accountName + "&realm=pc&league="+league+"&tabs=1&tabIndex=0&public=false"); } } }
Чем может быть вызвана проблема?
The text was updated successfully, but these errors were encountered:
Перед использованием нужно указать:
httpRequest.Cookies = new CookieStorage();
Sorry, something went wrong.
No branches or pull requests
Чем может быть вызвана проблема?
The text was updated successfully, but these errors were encountered: