Skip to content
This repository was archived by the owner on May 30, 2023. It is now read-only.

Phantomjs 1.9.7 use --proxy , returns error #13463

Closed
Accagain2014 opened this issue Aug 4, 2015 · 1 comment
Closed

Phantomjs 1.9.7 use --proxy , returns error #13463

Accagain2014 opened this issue Aug 4, 2015 · 1 comment
Labels

Comments

@Accagain2014
Copy link

In Linux, I use phantomjs --proxy=127.0.0.1:3128 test.js, returns a lot of errors.

test.js:
var page = require("webpage").create();
page.open("http://weixin.sogou.com/weixin?query=dsfsdf&fr=sgsearch&type=2&w=01019900&sut=1635&sst0=1438676010824&lkt=0%2C0%2C0", function(status) {
console.log(page.content);
});

but I use curl -x proxy=127.0.0.1:3128 http://weixin.sogou.com/weixin?query=dsfsdf&fr=sgsearch&type=2&w=01019900&sut=1635&sst0=1438676010824&lkt=0%2C0%2C0

It works, and when I don't use proxy just use phantomjs test.js, it works too.

I have no ideas about that. Can you give me some ideas?

@stale
Copy link

stale bot commented Dec 30, 2019

Due to our very limited maintenance capacity, we need to prioritize our development focus on other tasks. Therefore, this issue will be automatically closed (see #15395 for more details). In the future, if we see the need to attend to this issue again, then it will be reopened. Thank you for your contribution!

@stale stale bot closed this as completed Dec 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant